8000 Change exact prop to only match the path part by default by posva · Pull Request #37 · vuejs/rfcs · GitHub
[go: up one dir, main page]

Skip to content

Change exact prop to only match the path part by default #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update 0000-router-link-exact-active.md
  • Loading branch information
posva authored May 14, 2019
commit c9bc07ccd8fd43859b59ad39e1775e333b9c5bc6
2 changes: 2 additions & 0 deletions active-rfcs/0000-router-link-exact-active.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Current `exact` behavior doesn't marry well with query params and hash. However,

Using `exact-path` changes the behavior of the `exact` prop, which means _both props are needed_. The idea behind this is for the prop to be completely useless in v4.

If one wants to do more complex match, they should use the scoped slot version (https://github.com/vuejs/rfcs/pull/34)

# Drawbacks

- Breaking change
Expand Down
0