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

Fix bfcache with persistent atom and map #39

Merged
merged 22 commits into from
Jul 13, 2023

Conversation

GoldStrikeArch
Copy link
Contributor

  1. Fixed this issue Store values cached when navigating back (BFcache) #35 I simply added "sync" function and "pageshow" listener in "windowPersistentEvents" (I'm not sure if typing of "PersistentListener" should be updated because this would only be available in "windowPersistentEvents")
  2. Added playwright tests to bfcache.
  3. Added "demo" folder with simple vite app to test bf cache by hand if needed.
  4. Increased total size a bit (less than 50 bytes). This can probably be improved if needed.

@GoldStrikeArch GoldStrikeArch changed the title Fix bfcache with persistent atom and map and added "bf cache behaviour" playwright tests Fix bfcache with persistent atom and map Jul 11, 2023
@ai ai merged commit 720c9b3 into nanostores:main Jul 13, 2023
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.

2 participants