Simplifying state initializers with React Hooks
CRANK
What is the state initializer pattern? How does it work? Why is it important, and more to the point, how is the pattern implemented with Hooks? Learn here.