Releases: sslotsky/violet-paginator
Releases · sslotsky/violet-paginator
v2.0.0
SSR and updateItemsAsync
- Introduces
updateItemsAsync
to update items specified by a list of ids - Refactors
updateAllAsync
to useupdateItemsAsync
with all ids - Paginated components now accept
preloaded
prop for use with server side rendering - Optional
className
prop forVioletDataTable
with a default value ofborder
- Fixes a bug that caused an infinite
fetch
loop if thefetch
raises an error
Async item removal
removeAsync
action will remove an item from the list on completion of aremove
promiseisRemoving
will return true for the item being removed until theremove
promise has completed- Item will revert to previous state if
remove
promise fails updateAsync
now correctly reverts an item on promise failure when properties have been added