erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
11.99k stars 2.5k forks source link

server-side query params #756

Open mmahalwy opened 8 years ago

mmahalwy commented 8 years ago

Although:

// Workaround redux-router query string issue:
      // https://github.com/rackt/redux-router/issues/106
      if (routerState.location.search && !routerState.location.query) {
        routerState.location.query = qs.parse(routerState.location.search.slice(1));
      }

Still doesn't work.

trueter commented 8 years ago

The router state is initialized with a hacky promise, where are you trying to access it? Third and fourth parameter of fetchData and fetchDataDeferred are very useful.