Skip to content

Releases: sslotsky/violet-paginator

v2.0.0

02 Jan 04:53
Compare
Choose a tag to compare

Several improvements to make violet-paginator easier to use include:

  • Using higher order reducers to create one reducer per managed list
  • Much looser coupling for paginated components
  • Lots of new decorators

See upgrade guide for details.

SSR and updateItemsAsync

14 Dec 05:25
Compare
Choose a tag to compare
  • Introduces updateItemsAsync to update items specified by a list of ids
  • Refactors updateAllAsync to use updateItemsAsync with all ids
  • Paginated components now accept preloaded prop for use with server side rendering
  • Optional className prop for VioletDataTable with a default value of border
  • Fixes a bug that caused an infinite fetch loop if the fetch raises an error

Async item removal

29 Oct 20:25
Compare
Choose a tag to compare
  • removeAsync action will remove an item from the list on completion of a remove promise
  • isRemoving will return true for the item being removed until the remove 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