📄️ Context API
In short, I use the lightweight option and easy to setup for handling global state. As far I know, there are many option to handle global state. One of them is Context API.
📄️ Store
We love unity in diversity. But we feel that the unity is a problem in programming. Let's imagine that we put the representation and the logic in a same file. That will produce a large file size and maybe thousands line. That make a new developer hard to learn the code and even hard to debug. So, the proposal is, how we separate the representation component and the logic. As we know the representation component handle how the data presented, and the store processing data to make it match with the representation requirement.