React-router: Uncaught TypeError: Cannot read property 'type' of undefined

Created on 24 Aug 2017  路  1Comment  路  Source: ReactTraining/react-router

Version

"react-router-dom": "^4.1.2",
"react-router-redux": "^5.0.0-alpha.6",

Test Case

https://github.com/Deviad/redux-router-playground/blob/under_development_v5/src/epics/epic_posts.js

Steps to reproduce

  1. npm start;
  2. open http://localhost:3000/posts/new
  3. fill the form
  4. press the submit button

Expected Behavior

It should show the page it gets redirected to by means of history.push("/")

Actual Behavior

It does redirect but shows in console.log the following error message:
Uncaught TypeError: Cannot read property 'type' of undefined

I logged the contents of my action$ observable for you to see that it's ok.

screen shot 2017-08-25 at 00 22 46

>All comments

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ArthurRougier picture ArthurRougier  路  3Comments

wzup picture wzup  路  3Comments

yormi picture yormi  路  3Comments

andrewpillar picture andrewpillar  路  3Comments

sarbbottam picture sarbbottam  路  3Comments