summaryrefslogtreecommitdiff
path: root/client/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/index.tsx')
-rw-r--r--client/src/index.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/index.tsx b/client/src/index.tsx
new file mode 100644
index 0000000..c92ef7e
--- /dev/null
+++ b/client/src/index.tsx
@@ -0,0 +1,15 @@
+import * as React from "react";
+import ReactDOM from "react-dom";
+import { App } from "./App";
+
+ReactDOM.render(
+ <App/>,
+ document.getElementById("root")
+)
+
+// Hot Module Replacement (HMR) - Remove this snippet to remove HMR.
+// Learn more: https://www.snowpack.dev/#hot-module-replacement
+const hotMudleReplacement = import.meta.hot;
+if (hotMudleReplacement) {
+ hotMudleReplacement.accept();
+}