Answer the question
In order to leave comments, you need to log in
Are there any solutions to use mobx-state-tree in OOP style and with TS support?
The previous application was successfully implemented on the mobx library in TypeScript and defining models through classes (ES6).
This time I thought about using mobx-state-tree. What caught my eye was that out of the box the library offers a functional programming style. And I would like to stay in the OOP. Bit by bit from the network, I found several libraries. But their implementation brings doubts about the appropriateness of the application. It's easier then to drive everything in a functional style.
Here are the questions:
- Maybe someone was interested in this problem and can share the solutions found?
Additional questions:
- Mobx + mobx-state-tree - does it make sense to define store models (mst) in mobx models and somehow use them together?
List of found libraries:
-https://github.com/charto/classy-mst
- https://github.com/farwayer/mst-decorators (here the guy needs to better define types for ts)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question