source: phonelux-frontend/src/index.js@ 775e15e

Last change on this file since 775e15e was e5b84dc, checked in by Marko <Marko@…>, 22 months ago

Prototype version

  • Property mode set to 100644
File size: 600 bytes
Line 
1import React from 'react';
2import ReactDOM from 'react-dom/client';
3import './index.css';
4import App from './App';
5import reportWebVitals from './reportWebVitals';
6import Data from './components/DataManager';
7
8window.Data = Data;
9const root = ReactDOM.createRoot(document.getElementById('root'));
10root.render(
11 <React.StrictMode>
12 <App />
13 </React.StrictMode>
14);
15
16// If you want to start measuring performance in your app, pass a function
17// to log results (for example: reportWebVitals(console.log))
18// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
19reportWebVitals();
Note: See TracBrowser for help on using the repository browser.