release/windows-microsoft-store
tsx 14 lines 473 Bytes
Raw
1 import React from "react";
2 import ReactDOM from "react-dom/client";
3 import App from "./App";
4 import { installNativeShellBehaviour } from "./native";
5
6 // Strip the WebView's browser affordances before the first paint, so the shell
7 // never flashes a web-page gesture (zoom, context menu, drag) at the user.
8 installNativeShellBehaviour();
9
10 ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
11 <React.StrictMode>
12 <App />
13 </React.StrictMode>,
14 );