The code from Tyler McGinnis' ReactJS Fundamentals course.

Frederic G. MARAND bde3a2fc0c Life cycle events and conditional rendering. 10 年之前
app bde3a2fc0c Life cycle events and conditional rendering. 10 年之前
components bde3a2fc0c Life cycle events and conditional rendering. 10 年之前
config bde3a2fc0c Life cycle events and conditional rendering. 10 年之前
containers bde3a2fc0c Life cycle events and conditional rendering. 10 年之前
public b0b133e369 Containers, presentational, stateless functional components, propTypes. 10 年之前
styles b0b133e369 Containers, presentational, stateless functional components, propTypes. 10 年之前
.babelrc 516838f403 First React component: webpack and babel setup. 10 年之前
.gitignore c46be0dcc8 FIRST components. 10 年之前
README.md 516838f403 First React component: webpack and babel setup. 10 年之前
package.json e03570a347 React Router and this.props.children. 10 年之前
webpack.config.js b0b133e369 Containers, presentational, stateless functional components, propTypes. 10 年之前

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