Mark Erikson
Member since Aug 3, 2021
- Profile: /members/14314-mark-erikson.htm
- URL: https://blog.isquaredsoftware.com
- Comments: 4
Recent Blog Comments By Mark Erikson
-
Why Do People Think React Teaches You More JavaScript?
Posted on Aug 3, 2021 at 1:18 PM
Yeah, I think that's another good point. With React's ES6 class components, you had to know how this works. Now, that wasn't necessarily a good thing :) We had a seemingly endless series of questions about "cannot read property 'state' of undefined", etc, when people would... read more »
-
Why Do People Think React Teaches You More JavaScript?
Posted on Aug 3, 2021 at 10:43 AM
Ah, yeah, the React DevTools are a huuuuuge aspect of using React. I haven't ever used modern Angular, but a year ago I was moved onto a project using classic AngularJS 1.x. I knew enough about web dev to pick up how it worked overall, but I can tell you that debugging AngularJS 1.x is hu... read more »
-
Why Do People Think React Teaches You More JavaScript?
Posted on Aug 3, 2021 at 9:55 AM
I think templates is the biggest aspect of this distinction, yes. Agreed that there's absolutely a ton of React-specific concepts to learn even in just rendering a basic React component: props, state, hooks, JSX syntax, events, how React handles falsy values, etc. But, at its core, the &quo... read more »
-
Why Do People Think React Teaches You More JavaScript?
Posted on Aug 3, 2021 at 9:16 AM
Control flow is the biggest aspect here, yes. If we set aside JSX syntax itself, which is mostly HTML-like, all control flow in React is done with normal JS syntax. List of items? items.map() . Conditional rendering? Ternary, if statement, or boolean someCondition && <M... read more »