bhargavg / ReactBasics

Notes and stuff about ReactJS and related things

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactBasics

Notes and stuff about ReactJS and related things

npm modules

Following are the bare minimum npm modules required:

$ npm install --save react react-dom
$ npm install --save-dev babel-core babel-loader babel-preset-env babel-preset-react css-loader style-loader html-webpack-plugin webpack webpack-dev-server

Notes

  • Instead of creating custom classes, Components can be creating by using pure functions
  • PropTypes helps to validate the types passed to Components

Links

About

Notes and stuff about ReactJS and related things

License:MIT License


Languages

Language:JavaScript 88.2%Language:HTML 9.1%Language:CSS 2.7%