solid icon indicating copy to clipboard operation
solid copied to clipboard

Pre-rendered content does not re-render to show updated content from storage engines in SSR environments

Open vxncetxn opened this issue 2 years ago • 3 comments

Describe the bug

In SSR environments such as Astro + Solid, pre-rendered content does not re-render to show updated content from persistent storage engines.

I understand that this package only claims to be an integration for Nano Stores and not Nano Stores Persistent but I will still open this issue just in case.

Your Example Website or App

Minimal reproduction

Steps to Reproduce the Bug or Issue

  1. Open Minimal reproduction
  2. Observe that initial rendered value is initialValue
  3. Click on button and observe that rendered value changes.
  4. Observe also that localStorage value changes as well.
  5. Refresh tab and observe that rendered value is back to initialValue and does not update to show correct value from localStorage.

vxncetxn avatar Aug 31 '22 23:08 vxncetxn