bump thundercats
This commit is contained in:
@ -3,6 +3,7 @@ import React from 'react';
|
|||||||
import { Router } from 'react-router';
|
import { Router } from 'react-router';
|
||||||
import { history } from 'react-router/lib/BrowserHistory';
|
import { history } from 'react-router/lib/BrowserHistory';
|
||||||
import debugFactory from 'debug';
|
import debugFactory from 'debug';
|
||||||
|
import { hydrate } from 'thundercats';
|
||||||
import { Render } from 'thundercats-react';
|
import { Render } from 'thundercats-react';
|
||||||
|
|
||||||
import { app$ } from '../common/app';
|
import { app$ } from '../common/app';
|
||||||
@ -18,8 +19,7 @@ app$(history)
|
|||||||
.flatMap(
|
.flatMap(
|
||||||
({ AppCat }) => {
|
({ AppCat }) => {
|
||||||
const appCat = AppCat();
|
const appCat = AppCat();
|
||||||
return appCat
|
return hydrate(appCat, catState)
|
||||||
.hydrate(catState)
|
|
||||||
.map(() => appCat);
|
.map(() => appCat);
|
||||||
},
|
},
|
||||||
({ initialState }, appCat) => ({ initialState, appCat })
|
({ initialState }, appCat) => ({ initialState, appCat })
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
"rx": "^2.5.3",
|
"rx": "^2.5.3",
|
||||||
"sanitize-html": "~1.6.1",
|
"sanitize-html": "~1.6.1",
|
||||||
"source-map-support": "^0.3.2",
|
"source-map-support": "^0.3.2",
|
||||||
"thundercats": "^2.0.0-rc9",
|
"thundercats": "^2.0.0",
|
||||||
"thundercats-react": "0.0.5",
|
"thundercats-react": "0.0.5",
|
||||||
"twit": "~1.1.20",
|
"twit": "~1.1.20",
|
||||||
"uglify-js": "~2.4.15",
|
"uglify-js": "~2.4.15",
|
||||||
|
Reference in New Issue
Block a user