Skip to content

v0.1.0

Latest
Compare
Choose a tag to compare
@hadeeb hadeeb released this 23 Mar 17:50
  • 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.