6.0.0 (2024-04-30)
- remove
onVisible
fromuseLazyLoad
(0e88210)
- remove
onVisible
fromuseLazyLoad
because the responsibility of the function should not include it. Please useLazyLoad
component or control usingisVisible
5.1.0 (2024-04-28)
- add
useLazyLoad
hook (6acc295)
5.0.0 (2024-03-12)
- strict LazyLoadProps type (bf48c51)
- drop support umd (2f22bac)
- build target upgrade (990b2ad)
- remove unnecessary useEffect (b2c7ac8)
- remove unnecessary useEffect (1ecdd70)
- build target upgrade to es2020
- drop support umd
4.1.5 (2023-01-02)
- unable to import package when develop (df4eae2)
4.1.4 (2023-01-02)
- enable to import
LazyLoadProps
(2237822)
4.1.3 (2023-01-02)
- remove multiple index.d.ts (bf9178b)
4.1.2 (2023-01-02)
- enable to import
LazyLoadProps
(7c0a016)
4.1.1 (2023-01-02)
- add index.d.ts.map (29de8d1)
4.1.0 (2023-01-02)
4.0.0 (2022-10-19)
- cache IntersectionObserver (2cd4473)
- Please use
direction
andmargin
props instead ofrootMargin
. - remove
threshold
props.threshold
is always0
. - You should rename
InvisibleComponent
tofallback
. - no longer automatically add Suspense. you should add
suspense
if you need it.
3.0.1 (2022-10-19)
3.0.0 (2022-05-25)
- add transition (7e1d8ca)
LazyLoad
internally usestartTransition
. It is necessary to install React v18.
2.3.0 (2022-05-22)
- add autoCalculateHeight (891589b)
2.2.0 (2022-05-10)
2.1.0 (2022-05-05)
- automatically enable React.Suspense (92ee132)
2.0.0 (2022-05-04)
- remove render prop (42c956c)
- Remove render prop and Add InvisibleComponent and children props
render
prop has been removed because of feature release like #25 . Please useInvisibleComponent
andchildren
props instead of 'render' .