Y
Hacker News
new
|
ask
|
show
|
jobs
by
gpas
1378 days ago
I've been using the standard interface[0] to handle URLs, is this better?
[0]
https://developer.mozilla.org/en-US/docs/Web/API/URL
1 comments
ikeohachidi
1377 days ago
Hey, yes I believe it does in some ways. Eg with the `setParam`, `setQuery` methods and also with the addition of placeholders to easily change url paths. I'm open to suggestions and criticism if you have any btw.
link