-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
29 lines (26 loc) · 766 Bytes
/
Copy pathindex.js
File metadata and controls
29 lines (26 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { createRoot } from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import curdStore from "./Store/crud-store";
const container = document.getElementById("root");
const root = createRoot(container);
root.render(
<BrowserRouter>
<Provider store={curdStore}>
<App />
</Provider>
</BrowserRouter>
);
// ReactDOM.render(
// <React.StrictMode>
// <App />
// </React.StrictMode>,
// document.getElementById('root')
// );
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();