Adds helper useMakeLinkWithPreservedPath for creating links preserving the current path.
Useful for for example modals that are valid for a large portion of views, and where opening or closing the modal is just about changing a query param value, regardless of the underlying path.
Examples coming to the docs eventually (when they exist 😄 ).
Adds helper
useMakeLinkWithPreservedPath
for creating links preserving the current path.Useful for for example modals that are valid for a large portion of views, and where opening or closing the modal is just about changing a query param value, regardless of the underlying path.
Examples coming to the docs eventually (when they exist 😄 ).