From ea61fe412ab0ab8de8931a8ee5840fdc27b5d344 Mon Sep 17 00:00:00 2001 From: Dan Zajdband Date: Sun, 16 Oct 2016 01:25:13 -0400 Subject: [PATCH] Add current props to state when data available (#13) --- lib/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/app.js b/lib/app.js index 53b6c78d..52696b8c 100644 --- a/lib/app.js +++ b/lib/app.js @@ -28,6 +28,7 @@ export default class App extends Component { const props = data.props || this.state.props const state = propsToState({ ...data, + props, router })