How to easily create URL parameters using searchParams in JavaScript
What are URL parameters?
URL parameters are just a way to send information to perform certain tasks such as filtering, sorting, translating, describing etc.
❌ How do we do it?
You might have seen people encoding URL parameters like this
const url = ...
typec.hashnode.dev1 min read