From ae7b91efe2076254d66d608052f4729fd34b3546 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 7 Oct 2021 21:27:47 -0700 Subject: Add CSS HMR benchmark --- examples/css-stress-test/src/index.tsx | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 examples/css-stress-test/src/index.tsx (limited to 'examples/css-stress-test/src/index.tsx') diff --git a/examples/css-stress-test/src/index.tsx b/examples/css-stress-test/src/index.tsx deleted file mode 100644 index 4c288c3cc..000000000 --- a/examples/css-stress-test/src/index.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { Main } from "./main"; -import classNames from "classnames"; -import ReactDOM from "react-dom"; - -const Base = ({}) => { - const name = - typeof location !== "undefined" - ? decodeURIComponent(location.search.substring(1)) - : null; - return
; -}; - -function startReact() { - ReactDOM.hydrate(, document.querySelector("#reactroot")); -} - -if (typeof window !== "undefined") { - globalThis.addEventListener("DOMContentLoaded", () => { - startReact(); - }); - - startReact(); -} - -export { Base }; -- cgit v1.2.3