- setFoo doesn't magically update foo (useState):
- useState("someinitvalue") only initialises the variable the first time the component is ?rendered?. Subsequent calls to useState return the new current value of the variable.
- passing props down and down. useContext? "
- should I learn redux?
- "should i learn class components?"
- to investigate: synthetic events an issue?
more pure js exercises please - https://gist.github.com/nbogie/3b9fdc130a7b7e6caea787c0a6ddad65 more hw - https://codesandbox.io/s/floral-water-w6z95?file=/src/exercises/exercise2/part1.js