You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question/possible bug with the latest commit on this branch.
The previous solution worked fine for me with catch-all routes and basePath (see earlier comment), but with the later commit I now get incompatible-href-as errors with router.push, as the as value gets basePath added but href does not.
This correctly strips the `basePath` before generating the `route-matcher` for dynamic routes and adds regression tests to ensure these work correctly with the `basePath` feature
Closes: #13966
darshkpatel
pushed a commit
to MLH-Fellowship/next.js
that referenced
this issue
Jun 12, 2020
This correctly strips the `basePath` before generating the `route-matcher` for dynamic routes and adds regression tests to ensure these work correctly with the `basePath` feature
Closes: vercel#13966
rokinsky
pushed a commit
to rokinsky/next.js
that referenced
this issue
Jul 11, 2020
This correctly strips the `basePath` before generating the `route-matcher` for dynamic routes and adds regression tests to ensure these work correctly with the `basePath` feature
Closes: vercel#13966
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 30, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Question/possible bug with the latest commit on this branch.
The previous solution worked fine for me with catch-all routes and basePath (see earlier comment), but with the later commit I now get
incompatible-href-as
errors withrouter.push
, as theas
value gets basePath added buthref
does not.Example
results in the error
Assuming this a bug unless I'm missing something?
Originally posted by @daveskybet in #13560 (comment)
The text was updated successfully, but these errors were encountered: