zustand

This example is from Chapter 8 of React in Depth.