News for hackers. Stuff that matters.
Re:JavaScript fundamentals before learning React by lmiller1990 on Thursday July 19, 2018 @09:11PM (#17571729)
I had the chance/experience to train a new team in Vue.js (and thus modern JS) which I imagine is similar to people learning React. I noticed the same thing as the author - the new JS frameworks are "all about JavaScript". Without a solid knowledge of how JS works, and ES6, learning any of them is difficult. When realizing this, the main things I focused on what getting people to understand JavaScript, _then_ start to make use of the framework's more powerful features.

I also noticed a lot of people interpreting `const` as "you can not change this, ever". It is short for constant, after all.

Re:JavaScript fundamentals before learning React by noir_lord on Friday July 20, 2018 @03:29AM (#17573125)
This was my personal experience learning Vue, I didn't know as much about JS as I thought I did.

I went back and started again filling in all the gaps I obviously had.

A year later and the frontend for all my stuff at work is TypeScript classes over Vue components and the code is actually simpler to understand.

I learnt something and the code got better, a win/win like that is rare ime.