diff --git a/Advanced Usage.md b/Advanced Usage.md index 8efa091..886e937 100644 --- a/Advanced Usage.md +++ b/Advanced Usage.md @@ -442,9 +442,9 @@ The current page is: /search The querystring is: query=hello+world&sort=title ```` -Most times, however, you might want to parse the "querystring" into a dictionary, to be able to use those values inside your application easily. There are multiple ways of doing that (some as simple as [a few lines of JavaScript](https://stackoverflow.com/questions/2090551/parse-query-string-in-javascript)), but a good, robust and safe solution is to rely on the popular library [qs](https://www.npmjs.com/package/qs). +Most times, however, you might want to parse the "querystring" into a dictionary, to be able to use those values inside your application easily. There are multiple ways of doing that. The simplest one is using [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) which is available in all modern browsers. If you need support for older browsers, a safe solution is to rely on the popular [qs](https://www.npmjs.com/package/qs) library. -For example, changing the component above to: +Here's an example on using `qs` by changing the component above to: ````svelte