Skip to content
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

Turn variables into stores to keep them while navigating #27

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

franknoirot
Copy link
Collaborator

Resolves #26 by turning the plain reactive variables in GenerationList into writable stores, so that we don't have to re-fetch all of them every time the user goes back to the home page unless they do a full page refresh for some reason. @jessfraz @Irev-Dev this is the kind of thing I absolutely love Svelte for 🧡

@franknoirot franknoirot self-assigned this Oct 20, 2023
@vercel
Copy link

vercel bot commented Oct 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
text-to-cad-ui ✅ Ready (Inspect) Visit Preview Oct 20, 2023 8:52pm

@franknoirot franknoirot merged commit 3a53489 into main Oct 20, 2023
2 checks passed
@franknoirot franknoirot deleted the keep-generations branch October 20, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep loaded generations in memory, maybe in localStorage without the models
1 participant