MediumConceptReact in depth
What is lifting state up and when should you use context instead?
This answer is part of Pro
58 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow do you fetch data in an effect without race conditions?Next What is useRef used for besides DOM access?