You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem – I have an optional prefix for any route which looks like "/ca/en/english".
But I have to parse it and treat only if it will succeed my regex (something like //[a-z]{2]/[a-z]{2}/[^/]+//). So, what is the best approach to make it possible with react router?
I saw this one, but, to be honest, this approach seems like the invention of my own router.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
I have a problem – I have an optional prefix for any route which looks like "/ca/en/english".
But I have to parse it and treat only if it will succeed my regex (something like //[a-z]{2]/[a-z]{2}/[^/]+//). So, what is the best approach to make it possible with react router?
I saw this one, but, to be honest, this approach seems like the invention of my own router.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: