Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Navigate without context #276

Answered by csells
udaymrx asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need context to call GoRouter.go() or GoRouter.push; you can make your GoRouter instance global and call it from wherever you need.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by udaymrx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #275 on December 26, 2021 16:49.