What is state management

Zhihau Shiu
2 min readApr 23, 2020

What is the state? That is, you go to the server and ask for a request. It may not respond. You will get an error message on the webpage. That error message is a status. How do you know if this status is an error or a normal page? This will parse the components on the web page. In a real-world complex application, it will have many states, and the processing becomes very complicated.

As an example of state management, you ask your girlfriend what to eat for breakfast? She may respond to you casually, roast chicken, just like you and so on. These responses are a state, you need to…

--

--

Zhihau Shiu

Hi! My name is Zhihau Shiu. I am a developer. I like to build some useful tool for myself. You can find them at Github.Zhihau.