Markdown HMR sometimes does not work
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
[troubleshooting section]: https://iles-docs.netlify.app/faqs/troubleshooting
- [x] I have read the __[troubleshooting section]__ before opening an issue.
- [x] I have tried upgrading `iles` and `vite`.
### Description 📖
When the Markdown `` 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 `` 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 https://github.com/ouuan/iles-blog/commit/863909c49d4b0948ddc894ade4e2bdb2019fd74d, and I managed to get the above minimal reproduction.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.