Skip to content

Commit 7892fba

Browse files
author
Dimitri KOPRIWA
authored
Merge pull request #17 from rollup-umd/dev
fix(react-dom): fix namedExports of react-dom
2 parents 1647116 + c5ab264 commit 7892fba

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/index.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,22 @@ function createConfig(options = {}) {
173173
'version',
174174
'isValidelement',
175175
],
176+
'react-dom': [
177+
'createRoot',
178+
'unstable_createRoot',
179+
'createPortal',
180+
'findDOMNode',
181+
'hydrate',
182+
'render',
183+
'unmountComponentAtNode',
184+
'unstable_renderSubtreeIntoContainer',
185+
'unstable_createPortal',
186+
'unstable_batchedUpdates',
187+
'unstable_interactiveUpdates',
188+
'flushSync',
189+
'unstable_createRoot',
190+
'unstable_flushControlled',
191+
],
176192
'react-is': [
177193
'isValidElementType',
178194
'isAsyncMode',

0 commit comments

Comments
 (0)