プロジェクト
概要
A DevTool for SWR
その他のプロジェクト計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルswr-devtools
A DevTools for SWR


This only supports SWR v1 or later versions.
How to use
Install the SWRDevTools extension
- Chrome
- Firefox
(SWR v1) Wrap your application in the SWRDevTools component
This instruction is only required with SWR v1
⚠️ If you use SWR v2 or later versions, you don't need to install swr-devtools and wrap your application. SWR Devtools does it for you.
npm install swr-devtools
# Install peerDependencies
npm install react swr
import { createRoot } from "react-dom/client";
import { SWRDevTools } from "swr-devtools";
createRoot(document.getElementById("app")).render(
<SWRDevTools>
<MainApp />
</SWRDevTools>,
document.getElementById("app")
);
Packages
| 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 |
Online Demo
https://swr-devtools.vercel.app
LICENSE
関連プロジェクトを探す
読み込み中…