Replies: 2 comments 3 replies
-
Something like this perhaps? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yeah this will definitely work. Such a simple solution I don't know how I didn't think of it. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am doing an upgrade from v5.1 to v6 of React router on an application that uses multiple paths for some routes. This is supported in v5 but not v6. What would be the best way to update this code? I would like to avoid creating a handful of near identical route components. Here is an example of the code I am referring to:
Type string[] is not assignable to type string
Just looking for the correct way to clean this up in v6!
Beta Was this translation helpful? Give feedback.
All reactions