Skip to content

sjp/query-shared-worker-demo

Repository files navigation

TanStack Query Shared Cache Demo

This repository is primary used to demonstrate how a cache can be shared across multiple tabs/windows using the following mechanisms:

The code itself is largely borrowed from the TanStack Query repository, with some modifications to support the cache sharing.

Demo

To view the demo app in action, see: https://sjp.co.nz/projects/query-shared-worker-persister/demo

Usage

To run this example:

  • npm install
  • npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •