top | item 35188578

(no title)

martpie | 3 years ago

How is that an actual _fundamental_ problem?

The world has embraced hooks, for better or worse. The fact is React still works well, and the React team has always been clear that performance is (somewhat) an implementation details. For example, they often advertise to use inlined functions and to use `useCallback` only if you're facing performance issues.

So `useCallback` invalidation is definitely not "fundamental" (imho)

discuss

order

wetpaws|3 years ago

JS world has a long running tradition of embracing things that in retrospect they should've not.