You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please refer to index.vue in this repo. It's console logging whenever it mounts using the onMounted hook.
During development, HMR on simple style updates works beautifully as expected within islands (components inside the components folder) without re-mounting the component.
But, when updating styles in a page that's using islands (client directives applied), the page re-mounts for every style update. Try changing the colour in the scoped style class mybkg from green to red in index.vue and save and check console, you can see index.vue was re-mounted.
Not sure if this is expected in pages containing islands, please advise and close this issue if so. Thanks bunch!
iles
andvite
.Description 📖
Please refer to
index.vue
in this repo. It's console logging whenever it mounts using the onMounted hook.During development, HMR on simple style updates works beautifully as expected within islands (components inside the components folder) without re-mounting the component.
But, when updating styles in a page that's using islands (client directives applied), the page re-mounts for every style update. Try changing the colour in the scoped style class
mybkg
from green to red in index.vue and save and check console, you can see index.vue was re-mounted.Not sure if this is expected in pages containing islands, please advise and close this issue if so. Thanks bunch!
Reproduction 🐞
https://github.com/techakayy/nature-delights-with-iles
If you face any peer dependencies issues, install using the force flag. Use command npm install --force
Dependencies Info
Run
npx iles info
andpnpm list
(ornpm list
) and provide the output:Logs 📜
If not providing a reproduction:
Output
Run
DEBUG=iles:* npm run dev
orDEBUG=iles:* npm run build
and provide the output:Screenshots 📷
Provide console or browser screenshots of the problem.
The text was updated successfully, but these errors were encountered: