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 |