swr-devtools
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

swr-devtools

npm version

A screenshot of SWR Devtools (light theme)

A screenshot of SWR Devtools (dark theme)

Install

npm install swr-devtools
# Install peerDependencies
npm install react swr

This only supports SWR v1 or later versions.

How to use

Wrap your application in the SWRDevTools component

import { createRoot } from "react-dom/client";
import { SWRDevTools } from "swr-devtools";

createRoot(document.getElementById("app")).render(
  <SWRDevTools>
    <MainApp />
  </SWRDevTools>
);

Install SWRDevTools from Chrome Web Store

https://chrome.google.com/webstore/detail/swr-devtools/liidbicegefhheghhjbomajjaehnjned

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i swr-devtools

Weekly Downloads

5,304

Version

1.3.2

License

MIT

Unpacked Size

70.2 kB

Total Files

39

Last publish

Collaborators

  • koba04