News for hackers. Stuff that matters.
Re:An experienced Javascript developer’s account of learning... by thaiphanvevo on Saturday April 22, 2017 @11:44AM (#14173042)
> what's the alternative for small-to-medium React applications that still need to store state?

I've found that with small React apps, you normally organise each component to be responsible for handling its own state.

If you need a global shared state but your app isn't large enough for Redux then lots of people pass callbacks down to child components as parameters. True story.

Re:An experienced Javascript developer’s account of learning... by rmetzler on Sunday April 23, 2017 @10:18AM (#14178240)
Yes, that's what I do. Managing the global state in the main component, setting up functions to change the state via the update helper [1] and pass these functions down to the dumb components.

[1]: https://facebook.github.io/react/docs/update.html