The code from Tyler McGinnis' ReactJS Fundamentals course.

Frederic G. MARAND c46be0dcc8 FIRST components. 8 år sedan
app c46be0dcc8 FIRST components. 8 år sedan
.babelrc 516838f403 First React component: webpack and babel setup. 8 år sedan
.gitignore c46be0dcc8 FIRST components. 8 år sedan
README.md 516838f403 First React component: webpack and babel setup. 8 år sedan
package.json 516838f403 First React component: webpack and babel setup. 8 år sedan
webpack.config.js c46be0dcc8 FIRST components. 8 år sedan

README.md

Notes sur ReactJS Fundamentals

Setting up

  • react + react-dom : actual React packages
  • html-webpack-plugin: copy html to output
  • webpack + webpack-dev-server: webpack
  • babel-{core,loader}: babel core + plugin for webpack
  • babel-preset-react: JSX transpiler

    npm install --save \ react \ react-dom && \ npm install --save-dev \ html-webpack-plugin \ webpack \ webpack-dev-server \ babel-{core,loader} \ babel-preset-react