I have been studying and using react hooks for a little bit, I cant seem to find any documentation regarding their state if they are asynchronous synchronous by default. Is useEffect asynchronous by default?
Asked
Active
Viewed 59 times
0
-
3all hooks are asynchronous – Pavindu Sep 22 '20 at 12:37
-
@Pavindu source? sorry I cant find any.. – Ivan Apungan Sep 22 '20 at 12:48
-
Does this answer your question? [Is useState synchronous?](https://stackoverflow.com/questions/54119678/is-usestate-synchronous) – norbitrial Sep 22 '20 at 13:58