Asynchronous behavior of useState Hook
Have you wondered why sometimes the state in React is not updated immediately?
Sometimes you increment a counter state and still the state does not show the incremented value immediately.
Let's understand this behavior of the useState function by tak...
kashyap171ankur.com4 min read
Manjulika Mondal
Good one👍