My understanding as a novice is as follows (please correct me or provide elaboration) useState - state management useReducer - more complicated state logic useRef - same as createRef useEffect - similar to componentDidMount a.k.a when the component is loaded on the page useMemo - when the component is updated
Woah, clear and to the point :)
All your vidoes are awesome!!!!! Thanks
For the useMemo hook, I get "Number of people: 2" printing out twice and the same thing for each and every addition. Could someone explain to me why this is happening?
what the model of keyboard or switch you using .. i like the sound
Can somebody explain why I get this ? React Hook useMemo has a missing dependency: 'printNumberOfPeople'. Either include it or remove the dependency array react-hooks/exhaustive-deps
I still don't see the difference between useRef and useMemo
Dude. Where did you get the context from? As in "context.people.length
@oliverweiss7175