YahooArchive / fluxible-router

MOVED TO FLUXIBLE REPO
104 stars 26 forks source link

Fix "nav.params is not an object" error #107

Closed geta6 closed 8 years ago

geta6 commented 8 years ago

When FluxibleRouter does not match any routes, handleHistory component always throw nav.params is not an object error in client side.

This error occurred by handleHistory:componentDidUpdate try to get params from null (from getDefaultProps), so I fixed it.

Before

After

mridgway commented 8 years ago

lgtm :+1:

yahoocla commented 8 years ago

CLA is valid!

redonkulus commented 8 years ago

:+1: