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.
Percentage value(0-100) of the width of the parent container to fill
Percentage value(0-100) of the height of the parent container to fill
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.
Percentage value(0-100) of the width of the parent container to fill
Percentage value(0-100) of the height of the parent container to fill
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