Closed haf closed 7 years ago
Are you wrapping your top-level component in <Provider>
from react-redux
? Looks like the location state isn't coming down
Yes, I am, this comes from having a to
rather than a href
in the link. I don't think it's a question; it's a bug report.
Oh I see it now–href
is a mandatory prop and a non-nullable type in the Flow annotations. The to
prop is react-router
's version of href
. Switch 'em out and you should be fine 😃
@tptee Yes, that's true. I guess what I filed the bug because the crash is not from defensive programming at the edge of the library, and libraries should guard their input with such facilities.
The stack trace does not give me anything about what component it is that crashing either.
When given code like this: