Skip to main content

Mark Erikson

Member since Aug 3, 2021

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel