summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2021-04-12 17:40:33 -0500
committersanine-a <sanine.not@pm.me>2021-04-12 17:40:33 -0500
commitbc594a2d3839d1d0a3cc76eed23ec8535c72f6bf (patch)
treee63cc0faf2d756f5c0d92a14e2ddca59e3a52d39 /main.js
parent82573dc615710c13d988ef27823d24839df100ab (diff)
begin refactor to use Inferno
Diffstat (limited to 'main.js')
-rw-r--r--main.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.js b/main.js
new file mode 100644
index 0000000..0ca765b
--- /dev/null
+++ b/main.js
@@ -0,0 +1,14 @@
+'use strict';
+
+const h = Inferno.h;
+
+function render()
+{
+ Inferno.render(
+ h(App, {}),
+ document.getElementById('root')
+ );
+}
+
+
+window.onload = render;