Theme UI's MDX Components Not Rendering in 9.4
See original GitHub issueBug report
Describe the bug
In my project raam
, I’m trying to upgrade to Next 9.4. Unfortunately my ThemeProvider
(from Theme UI) is no longer applying components to MDX:
PR: https://github.com/joe-bell/raam/pull/21 Demo: https://raam-git-chore-next-94.joebell.now.sh/
Is there something that needs to be done on my side/Theme UI’s side to support fast refresh?
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
The MDX content should render with the components I’ve defined, like the do with Next 9.3 in raam.joebell.co.uk
Screenshots
Before
After
System information
- OS: macOS
- Browser (if applies): N/A all browsers.
- Version of Next.js: 9.4.1
- Version of Node.js: 13.8.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Next.js not applying styles to MDX components #1130 - GitHub
When rendering MDX pages in Next.js, the styles defined in theme.js don't get applied. ... The issue is present in the next example...
Read more >Gatsby doesn't render MD in component inside of mdx file
What i have tried: Using the MDXRender in Section & Hero => Error. Use the component directly in the MDX file instead of...
Read more >New Docs | Blog - Formik
Gatsby is a React-based static site generator with a rich plugin and theme ecosystem. Its key value proposition is a single data graph...
Read more >MDX component rendering some markdown in Bit - YouTube
This is a simple MDX -file compiled by Bit to a reuseable component. Shows how to customize theming with a ThemeProvider.
Read more >Hot Reload MDX changes in Next.js and Nx - | juri.dev
The important part here is that it doesn't simply do a Browser refresh, but auto reloads the component, thus you should not lose...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jonashaefele no worries! Good luck and keep us posted
@jonashaefele there are links to an example in the description 🙂