initialisation depencencies issues #550
Unanswered
stephane303
asked this question in
Help and Questions
Replies: 1 comment
-
I would use dependency injection - wrap stores in a function that initializes the I do something pretty similar in my app - see the code sample here: #557 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having trouble dealing with initialisation dependencies:
For example:
I have two stores:
a) settingsStore
b) menuStore
settingsStore need to read some configuration from the DB.
menuStore depends on the states of settingsStore (received from the DB).
How can I make menuStore wait for settingsStore to have finished initialisation ?
Beta Was this translation helpful? Give feedback.
All reactions