Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simple-thoughts
on March 11, 2023
|
parent
|
context
|
favorite
| on:
Common Beginner Mistakes with React
Both are valid, but you’re right in that, at least in my experience, the second option can be safer. Specifically when updating an object or list via an asynchronous call where the calls can change based on state (such as the user changing accounts)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: