This is a proof of concept of a state manager class that combines React Hooks, immer and an adapted publish-subscribe pattern. See the example files for an idea of how this works. This is a work in ...