Skip to content

model.Component => state.Provider

Latest
Compare
Choose a tag to compare
@tobiu tobiu released this 29 Nov 19:36
· 2 commits to dev since this release
  • To remove the naming confusion for VMs => view models, conflicting with data.Model, we are now sticking to state provider
  • Inside component.Base, the model config got renamed to stateProvider
  • Inside component.Base,getModel() got renamed to getStateProvider()
  • component.Base & controller.Component now have getState() & setState() as shortcuts for getStateProvider().getData() & getStateProvider().setData()

full list of code changes: 7803283