Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 424 Bytes

reactjs_notes.md

File metadata and controls

7 lines (7 loc) · 424 Bytes

Notes

  1. HTML to JSX online compilers are already available
  2. Major changes with Reacj compared to 4 years old react
    1. Prefer Hooks to Mixins, Mixins are no-longer popular to share
    2. import {render} from 'react-dom'
    3. make use of 'create-react-class' module instead of React.createClass, which is outdated and deprecated rather
    4. import PropTypes from 'prop-types' (PropTypes was part of 'react' module)