From f382ec567e1292cedee7c01e721ddc38bdc4dc4e Mon Sep 17 00:00:00 2001
From: "SOGYO\\bvdoord" <bvdoord@sogyo.nl>
Date: Tue, 26 Jan 2021 11:22:58 +0100
Subject: Front-end met Snowpack toegevoegd

---
 client/src/index.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 client/src/index.tsx

(limited to 'client/src/index.tsx')

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();
+}
-- 
cgit v1.2.3

