🔼 Upgraded to react 18 and react-dom 18

This commit is contained in:
2022-03-30 11:01:03 -07:00
parent c208cbb76f
commit 5bf9e88b41
3 changed files with 18 additions and 20 deletions

View File

@@ -3,15 +3,16 @@ import { render } from "react-dom";
import { Provider, connect } from "react-redux";
import { HistoryRouter as Router } from "redux-first-history/rr6";
import { store, history } from "./store/index";
import { createRoot } from "react-dom/client";
import App from "./components/App";
const rootEl = document.getElementById("root");
const root = createRoot(rootEl);
render(
root.render(
<Provider store={store}>
<Router history={history}>
<App />
</Router>
</Provider>,
rootEl,
);