Skip to content

Instantly share code, notes, and snippets.

@arjunrao87
Last active November 15, 2016 02:17
Show Gist options
  • Select an option

  • Save arjunrao87/df2cee09a1bd4b8beebf5b7c88b9ea42 to your computer and use it in GitHub Desktop.

Select an option

Save arjunrao87/df2cee09a1bd4b8beebf5b7c88b9ea42 to your computer and use it in GitHub Desktop.
Starting with React

10/15/2016 Getting started with ReactJS. The stack seems to be what I have shown below ( for the moment ). The values in paranthesis "()" is the 'competition', the values in brackets "{}" is the usage reason

Round 1

>> Main installation

  1. React {To build the V and C components of the web app}
  2. Redux {To handle state for JS apps, React for me} ( Flux )
  3. Webpack{ To do module bundling so that all the dependent JS libraries arent in separate files. One of the main advantages is code splitting which means only the parts that are actually going to be loaded get pulled in chunks or code blocks at run time. ( browserify )
  4. npm {to install the dependencies required by the react stack }
  5. Babel {The code compiler that is ES6[also known as ES2015] compatible}

>> Additional installations

  1. Babel plugins
  2. webpack-dev-server ( not sure why )

>> Questions/Concerns

  1. JSX or not JSX

>> Additional dev tools

  1. Hot reloading ( not used this yet ) : http://gaearon.github.io/react-hot-loader/
  2. Create boilerplate react apps : https://github.com/facebookincubator/create-react-app#getting-started

>> Additional resources

  1. Simplest, simplest example of React/Redux to start off : https://github.com/jackielii/simplest-redux-example/tree/webpack
  2. Browserify v/s Webpack : http://blog.namangoel.com/browserify-vs-webpack-js-drama
  3. Java script versioning : https://benmccormick.org/2015/09/14/es5-es6-es2016-es-next-whats-going-on-with-javascript-versioning/
  4. Basic react setup : https://www.tutorialspoint.com/reactjs/reactjs_environment_setup.htm
  5. React/Redux examples : http://redux.js.org/docs/introduction/Examples.html
  6. The whole gamut of React tools : https://papaly.com/romseguy/bASSt/React
  7. Full stack React implementation : https://www.fullstackreact.com/articles/using-create-react-app-with-a-server/
  8. Single best resource for learning React-Redux : https://learnredux.com/
  9. Webpack for dummies : https://medium.com/@dabit3/beginner-s-guide-to-webpack-b1f1a3638460#.vadng5g60
  10. Passing data across components : http://andrewhfarmer.com/component-communication/#5-parent-component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment