SWR Cache DevTools #4160
Unanswered
yoshi6jp
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🛠️ SWR Cache DevTools - Real-time Cache Visualization & Debugging
Hey SWR community! 👋
I've built a developer tool for visualizing and debugging SWR cache in real-time. Thought you might find it useful!
What is it?
SWR Cache DevTools is a lightweight React component that adds a floating DevTools panel to your app, showing your entire SWR cache state with editing capabilities.
Key Features
Technical Implementation
The tool leverages SWR's public APIs to provide cache introspection:
Quick Start
Try it Live
🎮 Demo: https://swr-cache-devtools-web.vercel.app/
The demo shows various SWR patterns including CRUD operations, error handling, real-time updates, and more.
Links
Would love to hear your feedback and use cases! 🚀
Requirements: React 17+ and SWR 2+
Beta Was this translation helpful? Give feedback.
All reactions