github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/pkg/apps/sys.monitor/site.main.src/src/index.js (about) 1 /* 2 * Copyright (c) 2022-present unTill Pro, Ltd. 3 */ 4 5 import React from 'react'; 6 import ReactDOM from 'react-dom/client'; 7 import './index.css'; 8 import App from './App'; 9 import reportWebVitals from './reportWebVitals'; 10 import store from './store' 11 import { Provider } from 'react-redux' 12 13 const root = ReactDOM.createRoot(document.getElementById('root')); 14 root.render( 15 <React.StrictMode> 16 <Provider store={store}> 17 <App /> 18 </Provider> 19 </React.StrictMode> 20 ); 21 22 // If you want to start measuring performance in your app, pass a function 23 // to log results (for example: reportWebVitals(console.log)) 24 // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 25 reportWebVitals();