3 ms·
"useCallback" is not very intuitive naming. I'd guess a fair bit of the confusion could be attributed to this alone. Could have been useMemoizedValue useMemoize
by foomatic 4y ago
"useCallback" is not very intuitive naming. I'd guess a fair bit of the confusion could be attributed to this alone. Could have been useMemoizedValue useMemoizedCallback at least. The whole useXXX naming convention is also unintuitive.
- adamredwoods 4y agoOr the term "side effect" (especially in a language that does not enforce return types): https://dev.to/ruizb/side-effects-21fc https://dev.to/ruizb/side-effects-21fc