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.
Re:Modern Javascript: Everything you missed over the last 10...
by adamscybot on Saturday May 15, 2021 @05:28PM
(#27169198)
Perhaps give it another try, but with TypeScript. Im a front end dev and yes, I feel the JS pain. I look back at how I used to do things and think "wtf". TS completely changed this and brought it back to sanity.
Re:Modern Javascript: Everything you missed over the last 10...
by hajile on Saturday May 15, 2021 @09:24PM
(#27170429)
I’m pretty sure the real issue is backend vs UI rather than JS/HTML. If you’ve worked with a few alternatives, the web suddenly doesn’t look too bad. Sure, a couple solutions are probably nicer, but they are mostly platform locked and way slower to develop on.
UI programming is literally the fine art of handling what your most exasperating client is capable of inflicting on your UI.
I suspect this is the core complaint.
Re:Modern Javascript: Everything you missed over the last 10...
by bobthepanda on Saturday May 15, 2021 @05:35PM
(#27169246)
at least part of the problem is that Javascript and webdev have really low barriers to entry, which is positive in the sense that anyone can do it, but the problem is that anyone can reach that unhappy valley of knowledgeable enough to do a lot of damage without realizing it.
If you put bad developers on other languages they usually end up running into some wall first but Javascript is pretty forgiving.
Re:Modern Javascript: Everything you missed over the last 10...
by TheRealSteel on Sunday May 16, 2021 @01:18AM
(#27171413)
"React was basically invented by John carmack to do doom 3 and copied to render web pages. "
Does anyone have any reading material on this? I've never heard it and a quick Google turned up nothing, but I'd love to read about it. Unless it's a joke that went over my head...?
Re:Modern Javascript: Everything you missed over the last 10...
by bennysomething on Sunday May 16, 2021 @02:33AM
(#27171680)
https://m.youtube.com/watch?v=nYkdrAPrdcw#
32 minutes in.
Edit: I also worked on a node app that should have been written in a staticall typed language. Bugs that could have been caught at compile time literally caused me utter misery in on call overtime. All because some guy in our team demanded we wrote it in node. This was way before type script. I actually feel physical pain thinking about.