balazsbotond / urlcat

A URL builder library for JavaScript.
https://urlcat.org
MIT License
1.82k stars 57 forks source link

Update second example in the README "Why?" section to use URL and URLSearchParams #2

Closed balazsbotond closed 4 years ago

balazsbotond commented 4 years ago

Use currently accepted best practice as the basis of the comparison instead of my own clumsy solution.

See this Reddit comment: https://www.reddit.com/r/programming/comments/iyh2yn/urlcat_build_correct_urls_easily/g6eibpq?utm_source=share&utm_medium=web2x&context=3

balazsbotond commented 3 years ago

@all-contributors please add @balazsbotond for code, tests, docs, infrastructure, bug and maintenance

allcontributors[bot] commented 3 years ago

@balazsbotond

I've put up a pull request to add @balazsbotond! :tada: