Skip to content

Releases: hadeeb/react-lazy-hydration

v0.1.0

23 Mar 17:50
Compare
Choose a tag to compare
  • Will create an IntersectionObserver instance per component.
  • Added option to modify IntersectionObserver parameters.
    IntersectionObserver options can be passed via the prop whenVisible.
  • Add option to override wrapper element when using noWrapper.
    noWrapper prop now also accepts a string to use as the wrapper element. This can be used when the child element is not a div.
  • Capture ref value in effects, closes #30.
  • Updated return type of the component to JSX.Element.