Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thayne
on April 6, 2022
|
parent
|
context
|
favorite
| on:
AT&T's website raising the price every time I refr...
For it to persist across refreshes you would need to do more than just mutate the object, you would need to actually write it back to a persisted location like localstorage or a cookie.
staticassertion
on April 6, 2022
|
next
[–]
I'm sure there are a billion frameworks that persist state automatically for you exactly like that.
IanCal
on April 7, 2022
|
prev
[–]
That seems like the kind of assumption that could cause this kind of bug.
I
don't need to do that, just the layers under.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: