Aller au contenu principal

Import Bad Package

We are importing MDX content from a file that is in a package that has a bad React version.

This is expected to work despite the bad version.

See https://github.com/facebook/docusaurus/issues/9027


test-bad-package

This package declares a wrong React version on purpose (16.14.0)

The goal is to test that the MD/MDX content of this package can still be imported/rendered by our website.

See related issue https://github.com/facebook/docusaurus/issues/9027


React version: 19.2.4
React DOM version: 19.2.4

MDX Components work:

Summary

Details

const age = 42;