mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-06 22:43:08 +02:00
13 lines
278 B
TypeScript
13 lines
278 B
TypeScript
import React from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { App } from './App'
|
|
import './style.css'
|
|
|
|
const container = document.getElementById('root')!
|
|
const root = createRoot(container)
|
|
root.render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
)
|