Understanding React State
React is a Popular and Powerful Frontend library used in building User Interfaces.
In this article, I will help you understand a very important concept in React known as the State.
Firstly, the goal of the React State is to help us create a componen...
promyz.hashnode.dev2 min read
Favourite Jome
Software Engineer @bug0
Hi Ngozi Promise Ume, great first article and welcome to Hashnode.
This statement you wrote, had me researching: "When you are updating a state, you should think of it as a request rather than a command as it happens Asynchronously."
I didn't know React states updates asynchronously. Then I stumbled upon this article that explained wonderfully: Why Don’t React State Updates Reflect Immediately?
Thanks for sharing!