Mobx-state-tree: Flow.js support

Created on 14 Jun 2018  Â·  1Comment  Â·  Source: mobxjs/mobx-state-tree

After very positive experience using MST with Typescript, I've decided to use it on a Flow.js based project at work. Sadly

export type TAppStore = typeof AppStore.Type

doesn't work for Flow. Any plans on supporting it?

Most helpful comment

No. The type system of MST is very complex, and afaik most parts of it
cannot even be expressed in Flow. Anyhow the burden of keeping them in sync
manually would be pretty big

Op do 14 jun. 2018 om 12:41 schreef Peter Absolon <[email protected]

:

After very positive experience using MST with Typescript, I've decided to
use it on a Flow.js based project at work. Sadly

export type TAppStore = typeof AppStore.Type

doesn't work for Flow. Any plans on supporting it?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-state-tree/issues/870, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhJxGx015O_E4kx2GRim5Dwt0hnkOks5t8j3BgaJpZM4UnuQi
.

>All comments

No. The type system of MST is very complex, and afaik most parts of it
cannot even be expressed in Flow. Anyhow the burden of keeping them in sync
manually would be pretty big

Op do 14 jun. 2018 om 12:41 schreef Peter Absolon <[email protected]

:

After very positive experience using MST with Typescript, I've decided to
use it on a Flow.js based project at work. Sadly

export type TAppStore = typeof AppStore.Type

doesn't work for Flow. Any plans on supporting it?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-state-tree/issues/870, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhJxGx015O_E4kx2GRim5Dwt0hnkOks5t8j3BgaJpZM4UnuQi
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lidermanrony picture lidermanrony  Â·  3Comments

erkieh picture erkieh  Â·  4Comments

mreed picture mreed  Â·  3Comments

FredyC picture FredyC  Â·  3Comments

marszhou picture marszhou  Â·  3Comments