Skip to content

The free and privacy-friendly screen recorder with no limits 🎥

372 B
Raw Blame
import React from "react";
import { createRoot } from "react-dom/client";

import Waveform from "./Waveform";

// Find the container to render into
const container = window.document.querySelector("#app-container");

if (container) {
  const root = createRoot(container);
  root.render(<Waveform />);
}

// Hot Module Replacement
if (module.hot) {
  module.hot.accept();
}