remnantchat/src/index.js

23 lines
651 B
JavaScript
Raw Normal View History

2022-08-09 01:04:04 +00:00
import React from 'react'
import ReactDOM from 'react-dom/client'
2022-08-09 01:42:19 +00:00
import * as serviceWorkerRegistration from './serviceWorkerRegistration'
2022-08-09 01:04:04 +00:00
import './index.css'
import App from './App'
import reportWebVitals from './reportWebVitals'
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
2022-08-09 01:04:04 +00:00
)
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
2022-08-09 01:42:19 +00:00
reportWebVitals(console.log)
serviceWorkerRegistration.register()