Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99917647
emotion-use-insertion-effect-with-fallbacks.worker.esm.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 27, 06:50
Size
487 B
Mime Type
text/x-java
Expires
Wed, Jan 29, 06:50 (2 d)
Engine
blob
Format
Raw Data
Handle
23798982
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
emotion-use-insertion-effect-with-fallbacks.worker.esm.js
View Options
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
=
syncFallback
;
var
useInsertionEffectWithLayoutFallback
=
useInsertionEffect
||
useLayoutEffect
;
export
{
useInsertionEffectAlwaysWithSyncFallback
,
useInsertionEffectWithLayoutFallback
};
Event Timeline
Log In to Comment