Using URLSearchParams Web API to Preserve Page State Code Snippet
-
- Technologie
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/support
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/support
9 min.