TanStackT
TanStack2y ago
1 reply
worthy-azure

It is possible to use "search param"-based routing?

For context, I have a Liquid website...

https://example.com

We are injecting a React app that will open in a modal and we want it to have its own routing...

https://example.com?modal/path

This modal could be opened on any page...

https://example.com/some-page?modal/another-path

Does anyone know if this is possible with Tanstack? We have got a version working using React Router hashRouter, but for GA4 tracking we would much rather use search params
Was this page helpful?