msgba-web/js-src/index.jsx

13 lines
335 B
React
Raw Normal View History

2023-03-19 20:05:33 +01:00
"use strict";
import React from 'react';
import ReactDOMClient from 'react-dom/client';
import Endian from '/endian';
import Page from '/components/page';
const body = document.querySelector('body');
const app = document.createElement('div');
body.appendChild(app);
const root = ReactDOMClient.createRoot(app);
root.render(<Page/>);