Skip to content

the ultimate vocal synthesizer - sing, speak, beatbox, and more

Rust
471 B
Raw Blame
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App.tsx";
import { engine } from "../audio/AudioEngine.ts";

export function mount(root: HTMLElement): void {
  // console/debug handle (used by the browser smoke test)
  (window as unknown as { __chimeraEngine: typeof engine }).__chimeraEngine = engine;
  root.replaceChildren();
  createRoot(root).render(
    <StrictMode>
      <App />
    </StrictMode>,
  );
}