-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add HMR to example of MDX w/ Vite #2474
Conversation
Signed-off-by: Dan <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m fine having this, just a style nit
Co-authored-by: Titus <[email protected]> Signed-off-by: Dan <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2474 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 23 23
Lines 2693 2709 +16
Branches 2 2
=========================================
+ Hits 2693 2709 +16 ☔ View full report in Codecov by Sentry. |
Thanks! |
Initial checklist
Description of changes
I have updated the docs for
@mdx-js/rollup
: I added the suggestion fromvite-plugin-react
sinclude
option by addingmdx
to the list to enable HMR.Without it, a full page reload is required, and it took me some time to figure that out. I think one almost always wants that to be enabled.