Accessing query parameters? #83
Answered
by
rehhouari
MarcCoquand
asked this question in
Q&A
-
|
Hey! Thanks for building this. Is there a particular way we should access query parameters? Do you parse them yourselves? |
Beta Was this translation helpful? Give feedback.
Answered by
rehhouari
Sep 22, 2025
Replies: 1 comment 1 reply
-
|
hey, thanks for checking the plugin out! for the query, we do not parse it or use it in any way, the route is determined by the i used to include the query inside the context, but it wasn't parsed in any way, it just returned the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MarcCoquand
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey, thanks for checking the plugin out!
for the query, we do not parse it or use it in any way, the route is determined by the
pathnameonly (or hash)i used to include the query inside the context, but it wasn't parsed in any way, it just returned the
window.location.searchstring so i removed it. You can usenew URLSearchParams(window.location.search)to parse them