You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
466 B
25 lines
466 B
9 years ago
|
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)
|
||
|
])
|
||
|
|
||
|
)
|
||
|
}
|