Skip to content

MobX documentation encourages circular dependency between stores #2483

Discussion options

You must be logged in to vote

MobX does technically zero care about how you organise your store (unlike Redux). 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.

DI can be great, but others find it confusing. But most importantly, if we would use a DI container, it would immediately be read as 'mobx does need a DI container'. Like our current docs are sometimes already read as: MobX needs a singl…

Replies: 7 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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 danielkcz
Comment options

You must be logged in to vote
4 replies
@danielkcz
Comment options

@ghost
Comment options

@danielkcz
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #2483 on October 05, 2020 08:27.