New interface and loader
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.