-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
import mdx from parent directory cause Hydration fail #1424
Comments
Unfortunately, I didn't find a way to fix it, also mdx-js suggest not importing MDX outside of CWD mdx-js/mdx#1944 (comment) Because Also, in Nextra v3 I will remove the current workaround to make it works as it is antipattern and will produce unexpected behaviour. cc @shuding |
Why the components for imported MDX outside of CWD on the server is "{}" , is that the react context or webpack problem? |
Idk 🤷🏻♂️ |
@shuding can you for help? |
Here is my repo. The nextra site is located in /doc while I want to include the README.md file.
The text was updated successfully, but these errors were encountered: