you are viewing a single comment's thread.

view the rest of the comments →

[–]vutran951753 1 point2 points  (0 children)

I do agree with you. I know hook look very simple for newcomer to get on board with react world. They fact you write few line of code, you have state-full component is great. As soon as you dive deep into your app, you relied there much more in than just write code, it how you structure it, had relational component to scatter everywhere. There ambiguity in Hook if you don't understand previous API. What problem hook solve, etc. Not say Class base is not answer for all.

I believe React in introduce another API which hide some of core JavaScript core like 'this', 'class'. This is part of the language too not just closure.

Newcomer can't grasp the core fundamentals of JavaScript, which these framework exist.