Page MenuHomec4science

emotion-use-insertion-effect-with-fallbacks.browser.esm.js
No OneTemporary

File Metadata

Created
Mon, Jan 27, 07:00

emotion-use-insertion-effect-with-fallbacks.browser.esm.js

import * as React from 'react';
import { useLayoutEffect } from 'react';
var syncFallback = function syncFallback(create) {
return create();
};
var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
var useInsertionEffectWithLayoutFallback = useInsertionEffect || useLayoutEffect;
export { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };

Event Timeline