"Bad-ass kids, we was racein with the streetlight "
Music & Light Warning - Next Slide
Starting Monday!
DS & Algo + #THEHUNT Checkin
Starting Monday
Wave 001 -> House Turing
every class
Keep !sheet Updated Weekly
1 coffee chat / 3 connections every week
React is a library for handling your UI.
It allows you to write components which you can re-use and
extend when needed. It does not handle anything else!
"react" contains the APIs for creating components
"react-dom" contains the APIs for rendering to the browser DOM
React components are functions which return JSX
A syntax extension to JS!
JSX is a shortcut for using the React.createElement() API, that is
much more concise, easy to read, and visually looks a little like the generated UI (as both are tree-like).
this.props
Props are arguments passed into React Components
Components can be configured upon instantiation by
passing properties to the constructor
this.state
React components have a built-in state object
This is where you store stuff related to the component
When the state object changes, the component
REACTS and re-renders!
Function components can now have state via hooks
Just Add
You should have already watched Traversy Media React JS Crash Course