52

React is actually pretty nice. Im probs saying this because it handles oop stuff like java would and im extremely fucking biased, but its a lot more enjoyable than angular.

Also if you get the joke in this pic (found in the react tutorial), hats off to you, it made me lol

Comments
  • 3
    @LicensedCrime I kinda like JSX. I’m working more with Vue these days but I just felt that JSX was more intuitive for me.

    But hey, everyone’s different :)
  • 1
    Since this component has no state change. It's better to write as a stateless function 🤖
  • 4
    The joke is about Facebook buying all those things?
  • 3
    This shopping list is old...
  • 0
    It's good to learn about JS prototypes to see how it differs from object oriented slightly.
  • 1
    @chrisrhymes One of the cooler things in regards to javascript's classes vs the prototype chain is that, when you create a constructor function, you're still able to fuck up by just calling it directly (messing up the context), whereas when you try to call a class as if it was a function, it'll give you an error. I thought that the class syntax in javascript was just pure sugar, and was transformed into a prototype chain on runtime, but I guess that's not the case. And I know that a `this instanceof ConstructorName` check can be added to the constructor functions, but being the lazy sob I am, I'd rather opt for the class syntax. It's also cleaner imho
  • 1
    @xprnio true, a rule of thumb is never constructor or only constructor
Add Comment