3 ms·
Yes and no -- you could also get away with passing the state down from a higher-level component. This does break down quickly, but if your app isn't too complic
by nkohari 10y ago
Yes and no -- you could also get away with passing the state down from a higher-level component. This does break down quickly, but if your app isn't too complicated, it can be enough for the first version. (Certainly, if I was unfamiliar with React, I would try this before integrating another library like Redux.)