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!