Sign in
pigweed
/
third_party
/
github
/
aspect-build
/
rules_js
/
HEAD
/
.
/
examples
/
vite6
/
src
/
index.jsx
blob: 35c2d2e1d8bff1b7303c84a8c96a4e1ea199a4ab [
file
] [
log
] [
blame
]
import
React
from
'react'
import
{
createRoot
}
from
'react-dom/client'
const
App
=
()
=>
<strong>
Hello
World
</
strong
>
const
container
=
document
.
getElementById
(
'root'
)
if
(
container
)
{
const
root
=
createRoot
(
container
)
root
.
render
(<
App
/>)
}