blob: 9fea8557236f8332d2a01d56e9b778862ef8fc1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
const inherits = require('util').inherits
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 () {
console.log(123454)
return (
h(Provider, {
store: this.props.store,
}, [
h(App),
])
)
}
|