The docs describe useLayoutEffect as a DOM targeted escape hatch for visual updates to the UI. Why then is a hook like this showing up in: Compatibility shims for useSyncExternalStore Reference implementation for the proposed useEvent hook addition?...

Markdown supported · ⌘↵ to post
No responses yet.