Skip to content

Releases: trinachoudhury1mg/react-loadable-visibility

V4.1.1

13 Jan 11:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.0...v4.1.1

v4.1.0

30 Dec 14:13
Compare
Choose a tag to compare

Changelog:

  • Use npm instead of yarn to pre-publish package
  • Maintain a list of visible components and return them instead of there fallbacks once the component has been loaded even if it is not in the root of the intersection observer.

Full Changelog: v4.0.2...v4.1.0

Fix hydration mismatch

28 Dec 10:58
Compare
Choose a tag to compare

Changelog

  • Fixed hydration mismatch arising due to an extra <div> around the fallback component ,(on the client), with some styling applied to it. Removed the styling.
  • Fix warning being shown in the console because of props being passed to dom elements.

Full Changelog: v4.0.1...v4.0.2

Increase root margin of intersection observer

28 Dec 08:24
Compare
Choose a tag to compare

Changelog

  • Increase the bottomRoot margin of intersection observer by 100% to eagerly load components

Full Changelog: v4.0.0...v4.0.1

Intersection Observer Options and Load Function Exposed (BREAKING CHANGES)

26 May 08:37
5fbfbb1
Compare
Choose a tag to compare

Changelog

  1. #1 Expose load method of underlying loadable to enable manual load of a component while returning a promise
  2. #5 Expose intersection observer options so as to enable option to edit the behavior of react loadable's intersection observer as per the use case
  3. BREAKING CHANGE: drop support for react-loadable