useSuspenseQuery using global cache
See original GitHub issueHi,
I have been using this library for data fetching in a Suspense-enabled React application I am building. However, it occurred to me that useSuspenseQuery
does not use the cacheProvider
given to the client, but instead uses a global cache.
Is there any reason why useSuspenseQuery
uses a global cache instead of the cache from the client? In my case, I cannot share caches/clients between requests as to prevent sensitive information from leaking between requests.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
RFC: React 18 SSR + Suspense Support #10231 - GitHub
Using useSuspenseQuery will require use of a suspense cache to keep track of in-flight requests. This will be instantiated and passed to the...
Read more >Seeding the Query Cache | TkDodo's blog
With suspense for data fetching on the horizon, it is now more important than ever to make sure your cache is seeded properly...
Read more >Pre-Caching Images with React Suspense - CSS-Tricks
Suspense is an exciting, upcoming feature of React that will enable developers to easily allow their components to delay rendering until ...
Read more >Configuring Query Caching - Oracle Help Center
You configure cache storage and other parameters in Fusion Middleware Control and in the NQSConfig.INI file, for both the query cache and the...
Read more >Simple and powerful fetching library for react with HOOKS. No ...
Simple and powerful fetching library for react. Use hooks or HOCs to fetch data in easy way. No dependencies! Just react. Suspense support....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fabianishere please check the new version
fell free to reopen that issue when needed
Great! Let me know if you need any help!