react-router-component icon indicating copy to clipboard operation
react-router-component copied to clipboard

Navigate relative to page root

Open jamwaffles opened this issue 10 years ago • 1 comments

I have a contextual router using the NavigatableMixin mixin at /foo. I want to do this.navigate from this router to /bar/baz, however when I do this.navigate('/bar/baz') it navigates to /foo/bar/baz. Is there a way I can pass a { global: true } option to this.navigate or something similar, or is this not currently supported?

jamwaffles avatar Jan 26 '15 09:01 jamwaffles

Using the <Link> component instead of ?

jjalonso avatar Jul 13 '15 23:07 jjalonso