Using URLSearchParams Web API to Preserve Page State
Manage episode 343982096 series 3220746
In this episode we look at the URLSearchParams Web API which allows you to query, check and modify URL parameters using JavaScript. As always, you can check out this episode's snippet here:
https://codepen.io/walpolea/pen/QWLdwPR?darkmode
And if you want to learn more about the URLSearchParams API, here's the documentation:
https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
--- Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support10 episodes