Releases: hiroki0525/react-dom-lazyload-component
Releases · hiroki0525/react-dom-lazyload-component
v6.0.0
6.0.0 (2024-04-30)
Performance Improvements
- remove
onVisible
from useLazyLoad
(0e88210)
BREAKING CHANGES
- remove
onVisible
from useLazyLoad
because the responsibility of the function should not include it. Please use LazyLoad
component or control using isVisible
v5.1.0
5.1.0 (2024-04-28)
Features
v4.1.5
4.1.5 (2023-01-02)
Bug Fixes
- unable to import package when develop (df4eae2)
v4.1.4
4.1.4 (2023-01-02)
Bug Fixes
- enable to import
LazyLoadProps
(2237822)
v4.1.3
4.1.3 (2023-01-02)
Bug Fixes
- remove multiple index.d.ts (bf9178b)
v4.1.2
4.1.2 (2023-01-02)
Bug Fixes
- enable to import
LazyLoadProps
(7c0a016)
v4.1.1
4.1.1 (2023-01-02)
Bug Fixes
v4.1.0
4.1.0 (2023-01-02)
Features
- support not only cjs but also esm and umd (1fbe49c)
- transpile ES2017 (0ea69ea)
Performance Improvements
v4.0.0
4.0.0 (2022-10-19)
Code Refactoring
- remove threshold (a5e3eba)
- rename
InvisibleComponent
to fallback
(0b25cfe)
Features
- add suspense prop (19fc57c)
- change props to make easy to use IntersectionObserver (851ac6d)
Performance Improvements
- cache IntersectionObserver (2cd4473)
BREAKING CHANGES
- Please use
direction
and margin
props instead of rootMargin
.
- remove
threshold
props. threshold
is always 0
.
- You should rename
InvisibleComponent
to fallback
.
- no longer automatically add Suspense. you should add
suspense
if you need it.
v3.0.1
3.0.1 (2022-10-19)
Performance Improvements
- remove autoCalculateHeight props (3b3b2ac)
- remove forceVisible effect (c88fb1b)