Help creating access permissions on routes <Link state={ customItem: 'newItem'} #1865
-
I'm passing a new attribute to Link through state, which was the way I found to identify which module this route belongs to. it's working But I would like to know if this is the correct way to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
schiller-manuel
Jun 30, 2024
Replies: 1 comment
-
you can use it, but you could also use search params. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
efgomes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can use it, but you could also use search params.
about that TS error, have a look at #1342 (comment)