-
useEffect vs useLayoutEffect
useEffect vs useLayoutEffect — According to Kent, 99% of the time you will want to use useEffect. But every once in a while useLayoutEffect is a better choice, such as to avoid that distracting flicker when DOM mutations take effect.
Appears in lists (1)
More like this (3)
-
useTypescript — A Complete Guide to React Hooks and TypeScript
A Guide to React Hooks and TypeScript — What’s involved in adding TypeScript types to React...
-
A Complete Guide to useEffect
A Complete Guide to React's useEffect — An amazingly epic post that will get anyone working...