Search...
Same as useDeepCompareEffect, but use useLayoutEffect instead of useEffect.
useLayoutEffect
useEffect
See API for more details.
Click links below to view source on GitHub.
useDeepCompareLayoutEffect(callback, deps)
Same as React.useLayoutEffect.