Skip to content

Latest commit

 

History

History
184 lines (85 loc) · 7.79 KB

CHANGELOG.md

File metadata and controls

184 lines (85 loc) · 7.79 KB

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

5.1.0 (2024-04-28)

Features

5.0.0 (2024-03-12)

Bug Fixes

  • strict LazyLoadProps type (bf48c51)

Build System

Performance Improvements

  • build target upgrade (990b2ad)
  • remove unnecessary useEffect (b2c7ac8)
  • remove unnecessary useEffect (1ecdd70)

BREAKING CHANGES

  • build target upgrade to es2020
  • drop support umd

4.1.5 (2023-01-02)

Bug Fixes

  • unable to import package when develop (df4eae2)

4.1.4 (2023-01-02)

Bug Fixes

  • enable to import LazyLoadProps (2237822)

4.1.3 (2023-01-02)

Bug Fixes

  • remove multiple index.d.ts (bf9178b)

4.1.2 (2023-01-02)

Bug Fixes

  • enable to import LazyLoadProps (7c0a016)

4.1.1 (2023-01-02)

Bug Fixes

4.1.0 (2023-01-02)

Features

  • support not only cjs but also esm and umd (1fbe49c)
  • transpile ES2017 (0ea69ea)

Performance Improvements

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.

3.0.1 (2022-10-19)

Performance Improvements

  • remove autoCalculateHeight props (3b3b2ac)
  • remove forceVisible effect (c88fb1b)

3.0.0 (2022-05-25)

Performance Improvements

BREAKING CHANGES

  • LazyLoad internally use startTransition. It is necessary to install React v18.

2.3.0 (2022-05-22)

Features

  • add autoCalculateHeight (891589b)

2.2.0 (2022-05-10)

Features

2.1.0 (2022-05-05)

Features

  • automatically enable React.Suspense (92ee132)

2.0.0 (2022-05-04)

  • Merge pull request #28 from hiroki0525/feature-add-suspense (bf315ad), closes #28

Performance Improvements

BREAKING CHANGES

  • Remove render prop and Add InvisibleComponent and children props
  • render prop has been removed because of feature release like #25 . Please use InvisibleComponent and children props instead of 'render' .

1.0.1 (2022-04-20)

Bug Fixes

  • remove console.log (546537f)
  • script and project dependencies (e807969)