UNPKG
@project44-manifest/react
Version:
latest (3.35.0)
3.35.0
3.34.0
3.33.0
3.32.1
3.32.0
3.31.0
3.30.0
3.29.0
3.28.1
3.28.0
3.27.0
3.26.1
3.26.0
3.25.0
3.24.0
3.23.2
3.23.1
3.23.0
3.22.2
3.22.1
3.22.0
3.21.2
3.21.1
3.21.0
3.20.0
3.19.0
3.18.1
3.18.0
3.17.0
3.16.0
3.15.0
3.14.0
3.13.3
3.13.2
3.13.1
3.13.0
3.12.0
3.11.1
3.11.0
3.10.0
3.9.0
3.8.0
3.7.0
3.6.0
3.5.2
3.5.1
3.5.0
3.4.2
3.4.1
3.4.0
3.3.0
3.2.3
3.2.2
3.2.1
3.2.0
3.1.0
3.0.0
2.18.0
2.17.0
2.16.0
2.15.0
2.14.1
2.14.0
2.13.0
2.12.2
2.12.1
2.12.0
2.11.1
2.11.0
2.10.1
2.10.0
2.9.0
2.8.0
2.7.1
2.7.0
2.6.9
2.6.8
2.6.7
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.0
2.4.0
2.3.1
2.3.0
2.2.0
2.1.1
2.1.0
2.0.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
Manifest Design System react components
github.com/project-44/manifest
project-44/manifest
@project44-manifest/react
/
src
/
hooks
/
useIsomorphicLayoutEffect
/
useIsomorphicLayoutEffect.ts
5 lines
(3 loc)
•
149 B
text/typescript
View Raw
1
2
3
4
5
import
*
as
React
from
'react'
;
export
const
useIsomorphicLayoutEffect =
typeof
window
!==
'undefined'
?
React
.
useLayoutEffect
:
React
.
useEffect
;