News for hackers. Stuff that matters.
Re:React Docs Beta – rewritten with hooks and interactive ex... by brundolf on Saturday October 23, 2021 @05:04PM (#28972254)
Because Elm has language-level support, while hooks try to do things that should be language-level but aren't, which is why they have so many footguns in general.

To get concrete, there's no possible way this function could be automatically memoized at a library/framework level:

  const myCallback = () => setFoo("bar")

There are no comments on this comment yet.