Skip to content

v4.0.0

Compare
Choose a tag to compare
@hiroki0525 hiroki0525 released this 19 Oct 12:32
· 141 commits to master since this release

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.