Convert url to pathname #941
Unanswered
markstreich
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a method to convert a url/uri string like '/user/123', and get the pathname that expo-router would use by default for it, eg. '/(profile)/user/[id]'?
I see something called
extractExpoPathFromURL
, which sounds like what I want, but doesn't seem like it's public?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions