SWR DevTools
A developer tool for SWR to help you debug SWR Cache.
Download
You can download the SWRDevTools extension at the following.
Setup (SWR v1 only)
- [
SWR v1.x
only] Installswr-devtools
and wrap your application with theSWRDevTools
component. Please see the more details in the documentation
How to use
Cache Panel

History Panel

Network Panel

Online Demo
App
/api/hello...loading(auto increment in 5 seconds)
/api/hello?foo...loading
SWR
Haven't received any cache data from SWRDevTools