The code from Tyler McGinnis' ReactJS Fundamentals course.

Frederic G. MARAND ab2ddff33f Private functional stateless components. há 10 anos atrás
app bde3a2fc0c Life cycle events and conditional rendering. há 10 anos atrás
components ab2ddff33f Private functional stateless components. há 10 anos atrás
config 4cb04ee970 More containser vs presentational components to prepare the battle data. há 10 anos atrás
containers ab2ddff33f Private functional stateless components. há 10 anos atrás
public b0b133e369 Containers, presentational, stateless functional components, propTypes. há 10 anos atrás
styles ab2ddff33f Private functional stateless components. há 10 anos atrás
utils ab2ddff33f Private functional stateless components. há 10 anos atrás
.babelrc 516838f403 First React component: webpack and babel setup. há 10 anos atrás
.gitignore c46be0dcc8 FIRST components. há 10 anos atrás
README.md 516838f403 First React component: webpack and babel setup. há 10 anos atrás
package.json 4ddbc2a971 Axios, promises, Github API. há 10 anos atrás
webpack.config.js b0b133e369 Containers, presentational, stateless functional components, propTypes. há 10 anos atrás

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