Skip to content

Sync from docs: add InMemoryVFS web option (powersync-docs #538) - #58

Merged
michaelbarnes merged 2 commits into
mainfrom
drift/docs-538-in-memory-vfs
Aug 18, 2026
Merged

Sync from docs: add InMemoryVFS web option (powersync-docs #538)#58
michaelbarnes merged 2 commits into
mainfrom
drift/docs-538-in-memory-vfs

Conversation

@bean1352

Copy link
Copy Markdown
Collaborator

Generated by Claude. Review carefully before merging.

Source docs PR: powersync-ja/powersync-docs#538

What changed in docs

Added documentation for WASQLiteVFS.InMemoryVFS, a new VFS option in @powersync/web 1.39.0+. The option provides non-persistent, fast in-memory storage suited for development and online-only apps.

Skill updates in this PR

  • skills/powersync/references/sdks/powersync-js.md: Added InMemoryVFS to the VFS options table and a guidance block covering when to use it, multi-tab behavior on Chrome and Firefox Desktop, the tab-isolation pattern, and the ps_crud monitoring caveat for production use.

Notes for reviewer

The skill update captures the decision-relevant facts an agent needs: when to recommend InMemoryVFS, when not to (offline support required), the multi-tab shared-worker default, and the production caveat around unsynced writes. The tab-isolation code example is taken directly from the docs. No new skill file was needed; the existing VFS section in powersync-js.md was the right location.


Generated by Claude Code

@bean1352
bean1352 requested a review from michaelbarnes July 10, 2026 09:01
@bean1352 bean1352 self-assigned this Jul 10, 2026
@michaelbarnes
michaelbarnes merged commit 7770db3 into main Aug 18, 2026
1 check passed
@michaelbarnes
michaelbarnes deleted the drift/docs-538-in-memory-vfs branch August 18, 2026 20:02
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