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:
To get concrete, there's no possible way this function could be automatically memoized at a library/framework level: