Skip to content

[React] Fix importmap to require react-dom/client - #3030

Merged
Kocal merged 1 commit into
symfony:2.xfrom
Kocal:fix-react-importmap-react-client
Aug 19, 2025
Merged

[React] Fix importmap to require react-dom/client#3030
Kocal merged 1 commit into
symfony:2.xfrom
Kocal:fix-react-importmap-react-client

Conversation

@Kocal

@Kocal Kocal commented Aug 19, 2025

Copy link
Copy Markdown
Member
Q A
Bug fix? yes
New feature? no
Docs? no
Issues Fix #...
License MIT

Following #2944, where the code changed from import require$$0 from 'react-dom'; to import { createRoot } from "react-dom/client";.

I forgot to update the importmap entry and add react-dom/client dependency.

@Kocal Kocal self-assigned this Aug 19, 2025
@carsonbot carsonbot added Bug Bug Fix React Status: Needs Review Needs to be reviewed labels Aug 19, 2025
@Kocal
Kocal merged commit 377a4bc into symfony:2.x Aug 19, 2025
23 of 27 checks passed
@Kocal
Kocal deleted the fix-react-importmap-react-client branch August 19, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix React Status: Needs Review Needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants