Skip to content

Conversation

@mbostock
Copy link
Member

@mbostock mbostock commented Jun 15, 2024

Tiny optimization to React: the npm:react-dom/client endpoint imports npm:react-dom, so there’s no reason to import the former. It’s slightly faster to just import npm:react-dom directly: one less dependency.

Also deletes an unlisted and now-defunct lib/react page.

@mbostock mbostock requested a review from Fil June 15, 2024 01:13
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mbostock mbostock merged commit 6b6ae78 into main Jun 15, 2024
@mbostock mbostock deleted the mbostock/react-dom branch June 15, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants