I wish to use query parameters instead of params. I know params work and there are lessons in your tutorial. Is there any way I can pass query parameters in the routes? works with location.query, but not the routes. Am I missing anything? I did my due diligence to search for answers, but couldn't find one.
UPDATE:
I tried to use router.push, which pushed the query as per doc, but still complained that route didn't exist in the declaration of routes, which is legitimate since I couldn't find a way to define a route with queries yet.
I wish to use query parameters instead of params. I know params work and there are lessons in your tutorial. Is there any way I can pass query parameters in the routes? works with location.query, but not the routes. Am I missing anything? I did my due diligence to search for answers, but couldn't find one.
Here is my route nesting:
Please help.
UPDATE: I tried to use router.push, which pushed the query as per doc, but still complained that route didn't exist in the declaration of routes, which is legitimate since I couldn't find a way to define a route with queries yet.