Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tylerhou
on Aug 18, 2022
|
parent
|
context
|
favorite
| on:
Not using useCallback is premature optimization
Would the dependency linter catch this? I assume yes?
tpict
on Aug 18, 2022
[–]
Yep, it will flag any references to variables in the outer scope that it doesn’t know for certain are stable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: