Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

@@router/INIT_PATH doesn't work with initalState? #122

Closed
@imevro

Description

@imevro

Hi, I have this setup of my store:

const finalCreateStore = compose(
  autoRehydrate(),
  applyMiddleware(thunk, logger),
)(createStore);

const store = finalCreateStore(reducer, {
  routing: {
    path: `/contacts/30/about`,
  },
});

and then at app.jsx I use syncReduxAndRouter(history, store).
When I start my app redux-simple-router ignores my initialState with routing.path. Why?

localhost 3000 2015-12-16 04-03-43

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions