summaryrefslogtreecommitdiff
path: root/client/src/index.tsx
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2021-06-25 12:56:04 +0200
committerMike Vink <mike1994vink@gmail.com>2021-06-25 12:56:04 +0200
commit6bd8d0345e3ac653c3fad4f1c7a6352e8a4a166e (patch)
treef142d3f43add40c2dd56bc496d6b4ab497f31a3e /client/src/index.tsx
parent38d59e2876b9f4d7c589d58295ef8acdf336a45b (diff)
parent102b25f18d9b269c58d15677f10cd71c15003c4b (diff)
Merge branch 'mvcFeature' into mainline
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();
+}