You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the culprit was inside of a conditional that wouldn't execute if reactMode !== legacy, and after adding that to my next.config.js, the error went away!
I'm not sure if this has something to do with how I'm using it, or if this is some pesky bug. In any event, I'm finally free from its grap, so I wanted to report it here :)
This discussion was converted from issue #16239 on August 16, 2020 19:27.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm loading MDX files (with an md extension, so it works with Netlify's CMS), see referenced next.config.js.
When trying to render an article dynamically, the following produces
at this line of code in client/index.js.
This is despite everything rendering correctly once the error is dismissed.
When I load content using a non-async import, as follows, everything is fine:
I noticed that the culprit was inside of a conditional that wouldn't execute if
reactMode !== legacy
, and after adding that to my next.config.js, the error went away!I'm not sure if this has something to do with how I'm using it, or if this is some pesky bug. In any event, I'm finally free from its grap, so I wanted to report it here :)
Environment files
Beta Was this translation helpful? Give feedback.
All reactions