-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDX routes do not get HMR'd #7788
Comments
MDX is tricky because it overloads So initially, unstable support for Vite shipped without any attempt to HMR MDX routes. But we can add HMR support for component exports and Remix-specific exports ( Additionally, we should improve the HMR invalidation message for routes that do contain unhandled exports to explicitly point to the problematic exports. We'll probably want to link to docs that explain why those exports cannot be automatically handled as well. |
Fixed by #8711 |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
v0.0.0-nightly-0c99349-20231027
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Make any code change within an MDX route after setting up MDX for Vite
Expected Behavior
Route is hot updated without refreshing
Actual Behavior
Page is hard refreshed
The text was updated successfully, but these errors were encountered: