aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/root.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/root.js')
-rw-r--r--ui/app/root.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/app/root.js b/ui/app/root.js
new file mode 100644
index 000000000..9fedf625f
--- /dev/null
+++ b/ui/app/root.js
@@ -0,0 +1,24 @@
+const inherits = require('util').inherits
+const React = require('react')
+const Component = require('react').Component
+const Provider = require('react-redux').Provider
+const h = require('react-hyperscript')
+const App = require('./app')
+
+module.exports = Root
+
+
+inherits(Root, Component)
+function Root() { Component.call(this) }
+
+Root.prototype.render = function() {
+ return (
+
+ h(Provider, {
+ store: this.props.store,
+ }, [
+ h(App)
+ ])
+
+ )
+}