-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support react-router Link into Navigation component #851
Comments
Did you figure it out?? That component does not have the best implementation though |
Hello, An example will be welcomed :-). Is there another way to implement it than with |
Actually the best solution would be to make You can do something like this. If you need it in the navigation you can always require the factory function and inject react router Link component or your custom implementation wrapping it. Check here |
It is working not that bad out of the box. I close the issue because the problem came from my code. So I'm using
|
In fact, the |
But still you can make it aware of router context and interact with the api writing your own wrapper :) |
@javivelasco any examples? I'm trying to move a project to react-toolbox and I'm hitting this specific issue. I'm already using react-router links, and I'm looking to use it in combination with the Navigation component -- which uses Links. |
You can decorate a Button or Link with the code shown here #984 (comment) maybe it's missing something but it exposes the idea |
But the problem outlined in #1059 remains, right? Is the css-next branch a solution to these issues, and is the css-next branch broadly usable right now? |
Is it possible to support react-router Link component into the Navigation component ? I did succeeded to do it and I can not found a working example.
Even in the documentation website you are using a workaround :
The text was updated successfully, but these errors were encountered: