Support to Mobx State Tree
nkint opened this issue · 5 comments
Hi!
Just a curiosity then a real issue.
Has anyone ever thought about integrate this wonderful project with mobx-state-tree?
Hi, I have never used mobx-state-tree myself so I wouldn't know what the difficulties would be to integrate it with mobx-router.
If you are more specific, preferably a sample repo, I can maybe help you set it up.
Thanks for answer. In mobx-state-tree there is a more structured way to define state, I will try to set up something, thanks!
@nkint check out rttr -> https://github.com/kitze/rttr
@kitze The example doesn't have a mobx-state-tree in it. Is the intention of rttr to have two separate stores? One for routing and the other for the mobx-state-tree while adding two levels to the component hierarchy to provide the two store contexts?
Second question: How would you use routing in mst-gql?
@iswara108 you can use rttr for MST apps. I have no idea how to use it with mst-gql
tho, sorry.