Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 1.15 KB

project.md

File metadata and controls

36 lines (33 loc) · 1.15 KB

[AsyncVuex]

  • X asyncState -- X lazy -- X $refresh
  • asyncGetter -- X takes either a getter or mutation/action names as watchers -- X eager -- X $pending -- $now -- $cancel
  • both -- X guard -- X $loading -- transform -- error -- X more -- reset

[1.0.0]

  • asyncMethods
  • clean up $more with the $offset variable passed in to the get
  • allow more option to just be the concat function, since we don't need a more.get -- this can stand in for merging by allowing the concat to be anything -- let them provide a size method, used to set the $offset passed in. this would give them flexibility for things like merge
  • make debouncing option stricter, use watch and watchClosely to trigger off/on
  • be stricter about what causes a reset to default. probably only undefined makes sense
  • no more default transform
  • add in the "pure string" version, with colon-prefix routes? To do this they have to provide an http method at the global level or the property level
  • mapAsync methods to make vuex bindings more convenient

[asyncMethods]

  • spec
  • optional debounce
  • just wraps a normal method with loading/pending/error/etc
  • perhaps has global $last result