News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by schwartzworld on Saturday May 15, 2021 @05:51PM (#27169351)
You should really try learning react first without redux. Redux is for managing global state. It's rarely needed but has become the defacto solution for react state for some reason.

React on its own is much simpler, once you grok the react compositional model. I don't know how you can do that while using redux too.

Re:Modern Javascript: Everything you missed over the last 10... by acemarke on Saturday May 15, 2021 @08:32PM (#27170201)
We specifically recommend that most folks should _not_ try learning Redux until after they're already comfortable with React:

https://redux.js.org/tutorials/essentials/part-1-overview-co...

Re:Modern Javascript: Everything you missed over the last 10... by schwartzworld on Sunday May 16, 2021 @06:07AM (#27172580)
That's great! (Although redux enthusiasts I've met tend to disagree with that philosophy).
Re:Modern Javascript: Everything you missed over the last 10... by acemarke on Sunday May 16, 2021 @12:17PM (#27174665)
Yeah, unfortunately there's been lots of folks out there who have tried to insist that Redux should be used everywhere, all the time, and ignored the guidance we've offered over the years on when it _might_ make sense to use Redux.