ac3-state-management-examples
ac3-state-management-examples copied to clipboard
Strategy to make the local state persisting
Summary: Using Apollo Client 3's Reactive Variables API (docs/blog post coming soon), we can store the entire application state locally (and optionally persist it using local storage).
Great!
What will be the best strategy to make the local state persisting (all the local state and only the local state), without having to wrap each write operation?
@olivierpascal did you find a way to automatically persist the reactive variable values over page refresh?
@bostrom Nop
@bostrom did you ever find a solution for this?
@bmwasonga I didn't 🙁
How did you resolve your issue?
I just accepted that they won't persist on reload. It wasn't so crucial so didn't bother to dig deeper.