Skip to content

Can we get some more guidance/docs on the recent development runtime change in 2.2? #2203

Answered by joostdecock
joostdecock asked this question in Q&A
Discussion options

You must be logged in to vote

In case other people struggle with this, this is the current workaround I have put in place:

import { run } from '@mdx-js/mdx'
import * as runtime from 'react/jsx-runtime'
// ...
await run(mdx, { ...runtime, jsxDEV: runtime.jsx })

But I'd like to understand rather than work around this issue.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@joostdecock
Comment options

@joostdecock
Comment options

@wooorm
Comment options

@colinsteidtmann
Comment options

@ng-hai
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants