tome-web/server/client.tsx
2021-09-23 23:38:12 -04:00

9 lines
204 B
TypeScript

import React from 'react'
import ReactDOM from 'react-dom'
import App from '~/client/App.tsx'
window.addEventListener('load', (event) => {
ReactDOM.render(<App />, document.getElementById('root'))
})