My way to a beautifully minimal shared state setup in React
To figure out what a minimal shared state setup might look like, I'm starting off with a local state setup with React's useState(). It would be handy if these two setups were similar for the following...