(no title)
hknd | 5 years ago
Each widget can have a store, each section can have a store, each view can have a store, etc. You decicde what works for you.
(I use mobx in a large and complex trading application)
hknd | 5 years ago
Each widget can have a store, each section can have a store, each view can have a store, etc. You decicde what works for you.
(I use mobx in a large and complex trading application)
shermanmccoy|5 years ago
hknd|5 years ago
But we also have multiple smaller stores which are not connected to the root store. Think: multiple not-connected trees where each node is a store.
I must agree that both approaches have pros and cons, e.g. passing down data down a long path of stores is annoying.
nsonha|5 years ago