[add] Upgrade ThunderCats react

This commit is contained in:
Berkeley Martinez
2015-12-22 19:28:07 -08:00
parent 1799322661
commit cec243b032
3 changed files with 24 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ import debugFactory from 'debug';
import { Router } from 'react-router';
import { createLocation, createHistory } from 'history';
import { hydrate } from 'thundercats';
import { Render } from 'thundercats-react';
import { render$ } from 'thundercats-react';
import { app$ } from '../common/app';
@@ -72,7 +72,7 @@ app$({ history, location: appLocation })
})
.flatMap(({ props, appCat }) => {
props.history = history;
return Render(
return render$(
appCat,
React.createElement(Router, props),
DOMContianer