A DevTools for SWR
This only supports SWR v1 or later versions.
- Chrome
- Firefox
swr-devtools and wrap your application. SWR Devtools does it for you.
npm install swr-devtools
# Install peerDependencies
npm install react swrimport { createRoot } from "react-dom/client";
import { SWRDevTools } from "swr-devtools";
createRoot(document.getElementById("app")).render(
  <SWRDevTools>
    <MainApp />
  </SWRDevTools>,
  document.getElementById("app")
);| package | description | 
|---|---|
| swr-devtools | A React component to inject your application | 
| swr-devtools-extensions | A Chrome extension for the SWR DevTools | 
| swr-devtools-panel | A React component for the SWR DevTools panel | 

