Closed NeCkEr closed 9 years ago
virtual-dom-stringify
( https://github.com/Raynos/mercury/blob/master/examples/server-rendering/server.js#L6 ) on the server.hg.partial
generates a thunk ( https://github.com/Raynos/vdom-thunk/blob/master/immutable-thunk.js ).else if (isThunk(node))
block ( https://github.com/alexmingoia/virtual-dom-stringify/blob/master/lib/stringify.js#L110 )If you make a PR on virtual-dom-stringify to stringify thunks ( and add tests! ) then it should work.
can't get hg.partial to work on server-side rendering...
any suggestions?