More on routing

This commit is contained in:
Tom Raithel
2017-02-20 22:51:30 +01:00
parent 00b31d8414
commit 517df35b94
9 changed files with 70 additions and 18 deletions

View File

@@ -3,10 +3,8 @@ import { render } from 'react-dom'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import App from './components/App'
import appReducer from './reducer'
const appReducer = (state = {}, action) => {
return state;
}
// Grab the state from a global variable injected into the server-generated HTML
const preloadedState = window.__TECHRADAR__;