Is there something like a replacePathParameters method?
Hello,
I'm trying to do something like this with the SolidJS router:
Thanks for any help. 😄
4 Replies
The result should be "/dogs/are/good/cats/are/better" in that case.
Thank you 😄
or if you dont speak regex 🤣
I speak regex but I like your solution more. It looks cleaner. 😂
shit yea didnt even think bout that
sorting fairly simple but probably this works too
but then expects trailing
/
so sorting probably easier