fusionjs / fusion-plugin-react-router

Migrated to https://github.com/fusionjs/fusionjs
MIT License
4 stars 21 forks source link

Redirect component doesn't work in browser #213

Closed brendean closed 5 years ago

brendean commented 5 years ago

Type of issue

Bug

Description

On the browser the Redirect component will cause an exception

Current behavior

Exception is thrown

Expected behavior

Should work on browser and server

Steps to reproduce

  1. Render Redirect component in the browser
  2. See the error: 'checkPropTypes.js:19 Warning: Failed context type: The context router is marked as required in Redirect, but its value is undefined.'

Your environment