Version: 2.x
PlainList Plugin
#
Use casesWhen interacting with lists of data, the basic tools provided by React-RocketJump can be too coarse. This plugin provides support for operations like
- prepend
- append
- in-order insert (requires a bit of configuration)
- item update
- single item insert
- item delete
#
ConfigurationThis plugin supports some configuration options:
- customListReducer: custom reducer for the list
#
Usage#
SelectorsThis plugin injects in the selectors
bag the following selectors:
- getList: returns the items contained in the page that is currently loaded (as an array)
- getCount: returns the total number of items in the collection
#
Computed propertiesThis plugin uses computed properties
Properties exposed on the shadow state
#
Provided pluginsThis plugin already embeds List Insert Plugin, List Update Plugin and List Delete Plugin, so you don't have to add them manually unless you need to perform some customization on them