Understanding Hooks Part 8 — Four-body Problem

What’s behind the legendary React Hooks? From time to time, I wonder.

In Part 7 we talked about a single state management system of our own. In this Part 8, we’d like to put it in use and see how it can be applied to real problems, especially when we encounter the four-body (or N body) problem.