Hacker News new | ask | show | jobs
by martpie 1196 days 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)

1 comments

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