Re:Show HN: Redux Offline – Build Offline-First Apps for Web...
by Kiro on Thursday March 30, 2017 @05:00PM
(#13998823)
Do you pass the MobX stores down to every child component as props or do you use @inject? I started with the former but all of a sudden all my components had all these "default" props that cluttered things up. @inject seems great but the documentation doesn't push it enough to make me believe it's best practice.
[ Parent
| on HN ]
Re:Show HN: Redux Offline – Build Offline-First Apps for Web...
by rawrmaan on Thursday March 30, 2017 @07:00PM
(#13999677)
Neither. Just import a singleton root store and reference it directly.