Skip to content

How do I access the state: data of navigate(...) from the destination route component? #1335

Answered by SeanCassiere
nyngwang asked this question in Q&A
Discussion options

You must be logged in to vote

@nyngwang
The correct way to access the state field from the Router's state is detailed here in this discussion.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nyngwang
Comment options

@SeanCassiere
Comment options

Answer selected by SeanCassiere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants