Skip to content

Commit

Permalink
Require react-dom through client so it can be aliased
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Mar 1, 2022
1 parent 29e7b0c commit f403f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom/npm/client.js
@@ -1,6 +1,6 @@
'use strict';

var m = require('./');
var m = require('react-dom');
if (process.env.NODE_ENV === 'production') {
exports.createRoot = m.createRoot;
exports.hydrateRoot = m.hydrateRoot;
Expand Down

0 comments on commit f403f13

Please sign in to comment.