From beec53a7bc6188990311103bcaaf2256a9eaf10c Mon Sep 17 00:00:00 2001 From: Toru Kobayashi Date: Fri, 24 Nov 2023 17:42:46 +0900 Subject: [PATCH] docs: hide the instruction for SWR v1 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 917effc..ffdbdd3 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ A DevTools for SWR ### (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.** ```shell @@ -40,6 +43,9 @@ createRoot(document.getElementById("app")).render( document.getElementById("app") ); ``` + +
+ ## Packages | package | description |