Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Unable to use render prop for Route #121

Closed
brendean opened this issue Mar 28, 2018 · 2 comments
Closed

Unable to use render prop for Route #121

brendean opened this issue Mar 28, 2018 · 2 comments
Labels

Comments

@brendean
Copy link
Contributor

Type of issue

Feature request

Description

The render prop is the suggested approach for passing props to a Route from a parent component but fusion-plugin-react-router does not allow this property.

Current behavior

When passing the prop render to the Route component an error is thrown 'Cannot pass render function to tracking route'.

Expected behavior

Should be able to pass render to a Route

Your environment

  • fusion-plugin-react-router version: 1.0.4
@brendean
Copy link
Contributor Author

I was able to side step this issue by importing Route directly from react-router but seems like functionality fusion may want to support

@mlmorg mlmorg added the bug label Apr 6, 2018
@KevinGrandon
Copy link
Contributor

It looks like this was actually fixed in: #132

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants