Skip to content

Add support for React 19 #920

@andrebrito16

Description

@andrebrito16

Initial checklist

Affected package

react-markdown@8.0.7

Steps to reproduce

Use react-markdown on latest NextJs version with React 19.

Then run next build --turbopack

Actual behavior

./node_modules/.pnpm/react-markdown@8.0.7_@types+react@19.1.8_react@19.1.0/node_modules/react-markdown/lib/complex-types.ts:25:25
Type error: Namespace 'global.JSX' has no exported member 'IntrinsicElements'.

Expected behavior

Build success without errors.

Runtime

No response

Package manager

No response

Operating system

No response

Build and bundle tools

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions