Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gpas
· 4y ago · 0 comments
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
Comments
[–]
ikeohachidi
4y 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.