We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639dc83 commit 98341e1Copy full SHA for 98341e1
src/renderers/dom/fiber/ReactDOMFiberEntry.js
@@ -702,7 +702,7 @@ type PublicRoot = {
702
703
function PublicRootNode(
704
container: DOMContainer | (() => DOMContainer),
705
- namespace: ?string,
+ namespace?: string,
706
) {
707
if (typeof container === 'function') {
708
if (typeof namespace !== 'string') {
@@ -750,7 +750,7 @@ PublicRootNode.prototype.unmount = function(callback) {
750
var ReactDOMFiber = {
751
unstable_createRoot(
752
753
754
): PublicRoot {
755
return new PublicRootNode(container, namespace);
756
},
0 commit comments