Fix issue that caused an effect to execute after every render
The newest react-hooks ESLint plugin correctly reported an issue where a `useLayoutEffect` hook had a dependency on a value which changed on every render.
Showing
Please register or sign in to comment