|
|
|
|
|
by baobabKoodaa
841 days ago
|
|
> I wonder if it's the case that many people on HN are just used to some completely different libraries and thus are coming in to React with a completely different mental model? And that's the cause of this sentiment being so common here. Nope. For me React was the first frontend framework I learned. The mental model of Class components was really easy to understand. I have since "learned" hooks, but they are a constant source of mental exertion for me, and it's very easy to make mistakes. Kind of like all the other "improvements" that they brought to React since Class components. |
|
[0] https://medium.com/@dan_abramov/making-sense-of-react-hooks-...
[1] https://github.com/flutter/flutter/issues/51752