Testing the toast feature for answering questions...
Is it working or not?
Let me know :)
Admin
0
0
How to programmatically navigate using React Router?
asked 2 months ago Asked
1 Answers
97 Views
With react-router
I can use the Link
element to create links which are natively handled by react router.
I see internally it calls this.context.transitionTo(...)
.
I want to do a navigation. Not from a link, but from a dropdown selection (as an example). How can I do this in code? What is this.context
?
I saw the Navigation
mixin, but can I do this without mixins
?