Skip to content

New interface and loader

Compare
Choose a tag to compare
@Mikescops Mikescops released this 13 Oct 12:22
· 18 commits to main since this release
cd1d68c

Breaking changes:

  • We don't handle storage of items list anymore, it should be passed as prop as of now. The updateFunction should now return a Promise that defines if the infinite scroll has reached the bottom.
  • We don't handle the offset increment anymore, it should be done by the parent component.

New features:

  • Loading component prop can be set to display a component when the updateFunction is still running.
  • Debug prop can be set to display the debugging console logs.

Dependencies are up to date.