React week 3 - student questions and issues for class
- 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?