React Notes

Table of Contents

  1. Resources
  2. Notes

Resources


Notes

  • One-way data flow
  • Uses Virtual DOM (it’s a JS object which replaces DOM manipulation)
  • React can be used for other purposes - mobile, VR, etc (so instead of importing ReactDOM, you would import ReactNative)
  • React ecosystem: lots of tools that work with it, like node.js, Babel, npm webpack
  • JSX (filetype) is a React extension to the JavaScript language syntax which provides a way to structure component rendering using syntax familiar to many developers. It is similar in appearance to HTML
  • Use className instead of class for html-like tags in virtual DOM (e.g. <p className=‘boldRed’>)