Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
recursive
on Sept 30, 2024
|
parent
|
context
|
favorite
| on:
Web components are okay
No. `useState` returns the value of the state, and a setter. It's not about side effects, it's about the value. The returned setter triggers a re-render. That's not nothing.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: