Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
creamyhorror
on March 12, 2023
|
parent
|
context
|
favorite
| on:
Common Beginner Mistakes with React
The section in the beta docs you linked to shows an async function startFetching() which does setTodos(json). How does that reconcile with you saying that setUser(json) is wrong?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: