next-use-contextual-routing icon indicating copy to clipboard operation
next-use-contextual-routing copied to clipboard

Support without manually adding the query params in both 'as' and 'href' attributes.

Open prince272 opened this issue 1 year ago • 0 comments

What kind of change does this PR introduce?

It add support without manually adding the query params in both 'as' and 'href' attributes.

What is the current behaviour?

When making a contextual href, You'll need to pass some query params in href with relation to the as attribute.

What is the new behaviour?

No need for the double work anymore, Everything is handled within.

Does this PR introduce a breaking change?

Yes, You need to pass only a single url to enable the contextual routing

Other information:

Please check if the PR fulfills these requirements:

  • [ ] Tests for the changes have been added
  • [ ] Docs have been added / updated

prince272 avatar Aug 17 '22 00:08 prince272