Comment
Comment by lj3
I do not imply the use of Context. useState() hooks into the local state of whatever component runs it. For example, if you have the following hook:
And the following two components that use said hook:
ExampleA and ExampleB share the same code that's run in the hook useMagicNumber, but the state reflected is unique to the component.