Here's my first take: make a fake URL and then get path and searchParams from it. I don't really like the fake url in the long run but I think it's the best solution right now
I was curious if the path that gets passed around could be replaced by a full URL but the to prop in Link is the origin of the parameter. So for that to work, the full URL including the to would have to be known by the Link or it would have to be added somewhere along the way (after TriggerPageLoad and before bundle.Init)
Fixes #7
Here's my first take: make a fake URL and then get path and searchParams from it. I don't really like the fake url in the long run but I think it's the best solution right now
I was curious if the path that gets passed around could be replaced by a full URL but the
to
prop inLink
is the origin of the parameter. So for that to work, the full URL including theto
would have to be known by theLink
or it would have to be added somewhere along the way (afterTriggerPageLoad
and beforebundle.Init
)