From 337b0226143e6b525945d3d6252ccf732e0545f5 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Tue, 15 Jun 2021 23:06:43 +0200 Subject: [PATCH] :pencil: Update README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index af69088..055e45e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # ⚡ vite-plugin-solid -A simple integration to run [solid-js](https://github.com/ryansolid/solid) with [vite](https://github.com/vitejs/vite) +> Looking for a `solid-js@1.0.0-rc` compatible `vite-plugin-solid`? Try `vite-plugin-solid@next` and report any bug you may encounter. + +A simple integration to run [solid-js](https://github.com/solidjs/solid) with [vite](https://github.com/vitejs/vite) HMR gif demonstrationdemodemodemo @@ -129,7 +131,7 @@ They will be merged with the defaults sets by [babel-preset-solid](https://githu ## Note on HMR -Starting from version `1.1.0`, this plugin handle automatic HMR via [solid-refresh](https://github.com/ryansolid/solid-refresh). +Starting from version `1.1.0`, this plugin handle automatic HMR via [solid-refresh](https://github.com/solidjs/solid-refresh). At this stage it's still early work but provide basic HMR. In order to get the best out of it there are couple of things to keep in mind: @@ -161,7 +163,7 @@ if (import.meta.hot) { - It appears that Webstorm generate some weird triggers when saving a file. In order to prevent that you can follow [this thread](https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000154544-I-m-having-a-huge-problem-with-Webstorm-and-react-hot-loader-) and disable the **"Safe Write"** option in **"Settings | Appearance & Behavior | System Settings"**. -- If one of your dependency spit out React code instead of Solid that means that they don't expose JSX properly. To get around it, you might want to manually exclude it from the [dependecies optimization](https://vitejs.dev/config/#optimizedeps-exclude) +- If one of your dependency spit out React code instead of Solid that means that they don't expose JSX properly. To get around it, you might want to manually exclude it from the [dependencies optimization](https://vitejs.dev/config/#optimizedeps-exclude) ## Migration from v1 @@ -173,5 +175,5 @@ For other breaking changes, check [the migration guide of vite](https://vitejs.d # Credits -- [solid-js](https://github.com/ryansolid/solid) and [vite](https://github.com/vitejs/vite#readme) obviously +- [solid-js](https://github.com/solid-js/solid) and [vite](https://github.com/vitejs/vite#readme) obviously - [vite](https://github.com/vitejs/vite) obviously