Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save jendiamond/29f86a70acbd3285b406 to your computer and use it in GitHub Desktop.

Select an option

Save jendiamond/29f86a70acbd3285b406 to your computer and use it in GitHub Desktop.
React Tutorial Notes

https://realpython.com/blog/python/the-ultimate-flask-front-end/ https://rubygems.org/gems/react-rails/versions/1.0.0

have to have flask, bower, yomen installed http://yeoman.io/generators/ for front end

Follow the directions here:

newtriks/generator-react-webpack

Install generator-react-webpack:

npm install -g generator-react-webpack

Make a new directory, and cd into it:

mkdir my-new-project && cd $_ Run yo react-webpack, optionally passing an app name:

yo react-webpack [app-name] Run grunt build for building and grunt serve for preview in the browser at localhost.

Like 'Rails new`, "yo" generates folders for the front end app npm is similar to bundler

Yes to JSX - templating system for JavaScript

To run the server $ grunt serve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment