Markdown HMR sometimes does not work
Opened this issue ยท 1 comments
ouuan commented
- I have read the troubleshooting section before opening an issue.
- I have tried upgrading
iles
andvite
.
Description ๐
When the Markdown <slot>
is after some kind (I'm not sure which) of island, its HMR does not work.
Reproduction ๐
https://github.com/ouuan/iles-issue-232-reproduction
Run pnpm dev
and edit src/pages/index.mdx
, only the random number changes, and the Markdown content does not change.
If the island and the <slot>
are in a reversed order, or client:load
is removed, or the prop is a fixed number, the HMR will work.
The real issue is that the HMR in my blog does not work after ouuan/iles-blog@863909c, and I managed to get the above minimal reproduction.
ElMassimo commented
Thanks for the report, I'll try to look into it when I have some time.