Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Rapzid
10 months ago
|
parent
|
context
|
favorite
| on:
Data Fetching for Single-Page Apps
It doesn't matter for 99.9% of use cases how long React caches it if your using it to debounce read requests.
madeofpalk
10 months ago
[–]
Sure, if you're using it to memoize a calculation.
But triggering an api request having side effects is 100% incorrect.
Rapzid
10 months ago
|
parent
[–]
Why?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: