qwik
qwik copied to clipboard
Type of RouteLocation['params'] incorrect
https://github.com/BuilderIO/qwik/blob/374f25e7c2759651cffa652f2bd16241e53c9c24/packages/qwik-city/runtime/src/types.ts#L65
When navigating with a <Link>, params used on the page can temporarily be undefined. Navigation should either not render the current page with the next route's param values, or the type of params should be changed to be
readonly params: Readonly<Record<string, string | undefined>>;
Good point, would you be willing to send a PR?
In v2 we are solving this issue by improving and implementing the navigation in a better way.
should be solved by #7816