You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defined in: [packages/react-form/src/useIsomorphicLayoutEffect.ts:3](https://github.com/TanStack/form/blob/main/packages/react-form/src/useIsomorphicLayoutEffect.ts#L3)
13
+
14
+
The signature is identical to `useEffect`, but it fires synchronously after all DOM mutations.
15
+
Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside
16
+
`useLayoutEffect` will be flushed synchronously, before the browser has a chance to paint.
17
+
18
+
Prefer the standard `useEffect` when possible to avoid blocking visual updates.
19
+
20
+
If you’re migrating code from a class component, `useLayoutEffect` fires in the same phase as
0 commit comments