With flushSync() inside useEffect do we do the same as using useLayoutEffect?
With flushSync() inside useEffect do we do the same as using useLayoutEffect?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/19481364/coder23)Coder23 |
(stackoverflow.com/users/4399281/fateh-mohamed)Fateh Mohamed |
(stackoverflow.com/users/13488990/ahmed-sbai)Ahmed Sbai |
(stackoverflow.com/users/21126620/leekris)leekris |
(stackoverflow.com/users/19481364/coder23)Coder23 |
A special thanks goes out to the (https://stackoverflow.com/questions/75312599/with-flushsync-inside-useeffect-do-we-do-the-same-as-using-uselayouteffect)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
reactjs react-hooks asynchronous javascript