How should I access the the query string parameters from svelte? I'd like my script to behave differently when "?beta" has been appended to the URL.
My intuitive approach would be to use the standard URLSearchParams
in a svelte #if
block.
How should I access the the query string parameters from svelte? I'd like my script to behave differently when "?beta" has been appended to the URL.
My intuitive approach would be to use the standard URLSearchParams
in a svelte #if
block.