ivanrod / polobx

A state manager for Polymer based in MobX
MIT License
23 stars 3 forks source link

Mobx state tree compatibility #10

Open d9k opened 7 years ago

d9k commented 7 years ago

Can I use https://github.com/mobxjs/mobx-state-tree as store with polobx?

Sent from my Sony E5823 using FastHub

ivanrod commented 7 years ago

MST has its own way to create stores, dispatch actions, etc. So, right now, it's not possible to use a MST store with polobx.

Maybe it could be a good idea to implement this compatibility layer with Polobx, but probably it would be easier to create a new Polymer integration with MST.

MST has great features (snapshots, compatibility with Redux,...) that I would like to introduce in Polobx at some point.