In the article “State management in Corvid” Shahar Talmi bringing up a question about control app states in Corvid.
The state of app it’s a really big problem. If you have a lot of components dependencies between each other or a lot of user interaction, eventually, add a new feature or support app is going through suffering.
In this article, I share my solution. It’s a very tiny library Storeon (core 175 bytes in gzip) with an easy interface. So I wrote a wrapper for integration with Corvid. As a result, we have the state manager corvid-storeon less than 80 lines of code.