4 ms·
Am I doing something wrong on small-to-medium applications by simply using setState? I always worry about this, even if Dan Abramov blessed it. Sometimes I nee
by arcticfox 10y ago
Am I doing something wrong on small-to-medium applications by simply using setState? I always worry about this, even if Dan Abramov blessed it.
Sometimes I need some more global stuff, which I have solved in the past using context but I feel like maybe I'll just hook up some small mobX store in the future... Not sure
- haukur 10y agoNo, you should be fine. If it starts to get painful to pass around props, investigate Redux or MobX rather than using context by hand.