Comment

Comment by breadwinner

> it’s not clear/an easily understandable mental model for most people

That's already the case, thanks to hooks. Hooks are weird, and should not be taught to junior programmers because it will confuse them for the rest of their careers. Hooks are weird because it doesn't align with functional programming paradigm or with OOP paradigm... it is a new paradigm and it is like nothing else.

More on that: https://medium.com/codex/can-we-all-just-admit-react-hooks-w...

parent breadwinner 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton