19 lines · 421 B · TypeScript
RawDownload
import { createRoot } from "react-dom/client"; class BrowserBuffer extends Uint8Array {} const browserGlobal = globalThis as any; if (browserGlobal.Buffer === undefined) {  browserGlobal.Buffer = BrowserBuffer;} const { App } = await import("./main"); const rootElement = document.getElementById("root"); if (!rootElement) {  throw new Error("Missing #root element");} createRoot(rootElement).render(<App />);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t