Complete intro to react - notes

I have a feeling this will be useful at some point.

const Details = props => {
    return (
            <code>{JSON.stringify(props, null, 4)}</code>

update: it’s been a year and that has not been useful once😂

Managing state

  1. useState
  2. Context - explained nicely in this video. also shows how you can useState & useContext
  3. Redux