diff --git a/src/internals/dispatcher.js b/src/internals/dispatcher.js index d551112..1d955f3 100644 --- a/src/internals/dispatcher.js +++ b/src/internals/dispatcher.js @@ -351,9 +351,10 @@ export const Dispatcher = { useId: useOpaqueIdentifier, unstable_useId: useOpaqueIdentifier, unstable_useOpaqueIdentifier: useOpaqueIdentifier, - // ignore useLayout effect completely as usage of it will be caught + // ignore useLayout / useInsertion effect completely as usage of it will be caught // in a subsequent render pass useLayoutEffect: noop, + useInsertionEffect: noop, // useImperativeHandle is not run in the server environment useImperativeHandle: noop, // Effects are not run in the server environment.