child
Add a child Component to the Lazy Collection.
Parameters
The component to add
A unique identifier for the child
Fix the child to the top of the collection if it is scrolled out of view
A callback that will be invoked when the child is close to or enters the visible area.
Add a child Component created by the provided componentFunction function to the Lazy Collection.
The Component will be created by invoking componentFunction when the child is first rendered. The Component will be reused in subsequent renders unless there is a change to deps. deps is an array of dependencies that should contain any props or state that are used inside componentFunction.
Parameters
A unique identifier for the child
Fix the child to the top of the collection if it is scrolled out of view
A callback that will be invoked when the child is close to or enters the visible area.
An array of prop and state values used by componentFunction to create the Component. A change to one of these values will cause componentFunction to recreate the Component.
A function that returns a Component