useIsomorphicLayoutEffect
constuseIsomorphicLayoutEffect: (effect,deps?) =>void
Defined in: packages/react/src/components/ui/datetime/input.tsx:500
useLayoutEffect in browser environments, useEffect on the server to avoid SSR warnings.
Accepts a function that contains imperative, possibly effectful code.
Parameters
Section titled “Parameters”effect
Section titled “effect”EffectCallback
Imperative function that can return a cleanup function
DependencyList
If present, effect will only activate if the values in the list change.
Returns
Section titled “Returns”void
Version
Section titled “Version”16.8.0