Expose ReactDOM as global object, and ensure in-tree extension to use the same instance (#5229)

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
chh authored and GitHub committed 2022-04-11 16:45:12 +03:00
1 parent 542cbe9ebf
commit c66f9ad407
5 files changed
+6

No files matched your search

+2
View File
@@ -6,6 +6,7 @@
import "./components/app.scss";
import React from "react";
import ReactDOM from "react-dom";
import * as Mobx from "mobx";
import * as MobxReact from "mobx-react";
import * as ReactRouter from "react-router";
@@ -187,6 +188,7 @@ const LensExtensions = {
export {
React,
ReactDOM,
ReactRouter,
ReactRouterDom,
Mobx,