Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
foomatic
· 4y ago · 0 comments
"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.
Comments
[–]
adamredwoods
4y ago
Or the term "side effect" (especially in a language that does not enforce return types):
https://dev.to/ruizb/side-effects-21fc