Skip to content

Cyclic dependency between Store and Domain object #2474

Discussion options

You must be logged in to vote

Same answers as in #2483:

MobX does technically zero care about how you organise your store. The documented pattern is just one of dozens approaches that could be taken in organising models / store / views / data. It was written because "we don't care" was too much freedom for many to handle. So the documentation is just a way in which it could be done, and you should definitely not read too much into it. If you have any argument to deviate from it, by all means do.

So please don't read the docs as 'this is the best way to architect your application', but rather 'if you have no clue how to get started, here is a way'. That is what we tried to say in the intro:

This section contains some …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rohitiscancerian
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rohitiscancerian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants