React
@mdx-js/react
React context for MDX
Markdown
jsx
markdown
mdx
react
remark
@mdx-js/react
javascript
npm
frontend
open source
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @mdx-js/reactCode example
import { React } from "@mdx-js/react";
export function Example() {
return (
<div>
<h2>React</h2>
<React />
</div>
);
}Pros & cons
Pros
- Actively maintained by John Otander
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub