mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 22:00:02 -04:00
simple rtc demo
This commit is contained in:
commit
e6443eb06e
11 changed files with 6373 additions and 0 deletions
10
client/main.tsx
Normal file
10
client/main.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import "preact/debug";
|
||||
import { h, render } from 'preact'
|
||||
import 'preact/devtools';
|
||||
import App from "./App";
|
||||
|
||||
|
||||
const container = document.getElementById("app") as HTMLElement;
|
||||
let app = <App />;
|
||||
console.log(app);
|
||||
render(<App />, container);
|
Loading…
Add table
Add a link
Reference in a new issue