openui5-mobx-model
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Build Status

openui5-mobx-model

Unofficial ui5 bindings for mobx.

Practically it is an adapter which wraps an mobx observable so that it can be used as model in ui5. You then can set properties directly on the mobx observable and also can have auto-updating computed properties which are just arbitrary javascript functions. You don't have to use ui5 model.setProperty or ui5 formatters anymore.

In practice this serves as a way more powerful data binding in ui5.

For an introduction and examples please read: https://blogs.sap.com/2017/01/30/advanced-state-management-in-sapui5-via-mobx/

Ownership

  • This small library was originally written by @geekflyer
  • As of 20th Sep 2018 repo ownership was transferred from @geekflyer to @martinxxd who becomes the new owner of the library

Readme

Keywords

none

Package Sidebar

Install

npm i openui5-mobx-model

Weekly Downloads

0

Version

1.1.2

License

Apache-2.0

Unpacked Size

14.3 kB

Total Files

11

Last publish

Collaborators

  • geekflyer