Files
threetwo/src/client/index.tsx
2022-03-01 15:20:17 -08:00

18 lines
435 B
TypeScript

import React from "react";
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 App from "./components/App";
const rootEl = document.getElementById("root");
render(
<Provider store={store}>
<Router history={history}>
<App />
</Router>
</Provider>,
rootEl,
);