Releases: trinachoudhury1mg/react-loadable-visibility
Releases · trinachoudhury1mg/react-loadable-visibility
V4.1.1
What's Changed
- Change fallback priority order by @utkarsh-1mg in #13
- Fix hydration mismatch when fallback is passed as prop by @Uttkarsh-Srivastava in #12
- Fix and update test cases for new use-cases and update node modules to their latest versions by @utkarsh-1mg in #11
New Contributors
- @Uttkarsh-Srivastava made their first contribution in #12
Full Changelog: v4.1.0...v4.1.1
v4.1.0
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
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
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)
Changelog
- #1 Expose load method of underlying loadable to enable manual load of a component while returning a promise
- #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
- BREAKING CHANGE: drop support for react-loadable