You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the useStorageState hook to persist some state to local storage while the user is typing, so we can restore it on refresh.
Recently, we received a report that when they typed, the browser locked up and had to be restarted. They're not able to reproduce it reliably, and we haven't been able to reproduce it easier.
I was able to reproduce it synthetically by adding
where this library goes into an infinite loop trying to handle the error (even if you're not writing to local storage). This might be a red herring, or might be the root cause.
Thanks for this library!
We use the
useStorageState
hook to persist some state to local storage while the user is typing, so we can restore it on refresh.Recently, we received a report that when they typed, the browser locked up and had to be restarted. They're not able to reproduce it reliably, and we haven't been able to reproduce it easier.
I was able to reproduce it synthetically by adding
where this library goes into an infinite loop trying to handle the error (even if you're not writing to local storage). This might be a red herring, or might be the root cause.
Thoughts?
Downstream issue: tilt-dev/tilt#4618
The text was updated successfully, but these errors were encountered: