S
Solara17mo ago
st

hey solara team looking into state

hey solara team looking into state documentation. It seems solara.reactive is session based as in if i refresh it resets. Is there a way to have shared state between sessions (browser refresh, etc) without using a database? Is it using the cache storage?
2 Replies
mariobuikhuizen
mariobuikhuizen17mo ago
Yes, you can use https://solara.dev/api/memoize for this.
mariobuikhuizen
mariobuikhuizen17mo ago
well.. at least for storing things that take long to compute, not for keeping the UI state.
Want results from more Discord servers?
Add your server