useEffect vs useLayoutEffect Sunday, November 15, 2020 Teklinks Both of these can be used to do basically the same thing, but some are more optimal than others. So here are some rules for you to consider when deciding which of these React Hooks to use. 99% of the time this is what you want to use. Full article Email This BlogThis! Share to X Share to Facebook