S
Solara

general

hey solara team looking into state

Sst8/3/2023
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?
Mmariobuikhuizen8/3/2023
Yes, you can use https://solara.dev/api/memoize for this.
Mmariobuikhuizen8/3/2023
well.. at least for storing things that take long to compute, not for keeping the UI state.

Looking for more? Join the community!