-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local state freezing in development #121
Comments
It would be nice if this functionality could ultimately be built into sycamore itself because it sounds like sycamore apps not using perseus could benefit as well. |
Oh yeah that would be fantastic! The issue is that it requires a global state system, which Sycamore doesn't prescribe (and probably shouldn't). That said, it should be fairly easy to do if there were one, and I could build it as a separate library for caching a given |
This makes it much easier to build #121.
HSR (Hot State Reloading) is now implemented! |
I've also eliminated the need for a little indicator by making the stored state simply clear itself after a CLi-initiated reload, which means the user can return to the original state by simply reloading, which is consistent with typical HMR behavior. This also avoids keeping old state for the next load when the user terminates the CLI process (the state from the last CLI-induced reload would be brought back up even several days later). |
This issue is requesting an enhancement to Perseus. Details of the scope will be available in issue labels.
The user described the problem related to this request as follows:
The user described the issue as follows:
Tribble internal data
dHJpYmJsZS1yZXBvcnRlZCxDLWVuaGFuY2VtZW50LGF1dGhvci13aWxsaW5nLXRvLWltcGw=
The text was updated successfully, but these errors were encountered: