0.1.0 • Published 6 years ago

herculesx v0.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

herculesX

Simple, predictable, developer friendly state management for alipay mini-program

setData (1).png

Feature

  • Component&Page&global wrapper
  • dispatch, commit mutation actions getters ...vuex like apis
  • strengthen mutation, getters. add immutable helper to getters, and improve mutation usecase , add some common innerMutation
  • plugins support, add logger as inner plugin
  • cross page communication: message channel, auto router dispatcher, getState by name space
  • cross components communication: ref support
  • connect, connect Page to Component
  • global store support, management all store instance and component instance and global state, global message bus ,event bus
  • event bus support
  • auto router data flow, take over all lifecycle
  • use immer and immuble helper to promise immutable