The code from Tyler McGinnis' ReactJS Fundamentals course.

Frederic G. MARAND e03570a347 React Router and this.props.children. 10 năm trước cách đây
app e03570a347 React Router and this.props.children. 10 năm trước cách đây
components e03570a347 React Router and this.props.children. 10 năm trước cách đây
config e03570a347 React Router and this.props.children. 10 năm trước cách đây
.babelrc 516838f403 First React component: webpack and babel setup. 10 năm trước cách đây
.gitignore c46be0dcc8 FIRST components. 10 năm trước cách đây
README.md 516838f403 First React component: webpack and babel setup. 10 năm trước cách đây
package.json e03570a347 React Router and this.props.children. 10 năm trước cách đây
webpack.config.js e03570a347 React Router and this.props.children. 10 năm trước cách đây

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