Skip to content
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

shallowRouting doesn't work #68

Open
tjx666 opened this issue Jun 19, 2024 · 0 comments
Open

shallowRouting doesn't work #68

tjx666 opened this issue Jun 19, 2024 · 0 comments

Comments

@tjx666
Copy link

tjx666 commented Jun 19, 2024

reproduce:

  1. open the codesandbox
  2. click nextRouter link in the index page
  3. click button UPDATE QUERY, still show the nprogress

The key problems is when I the shallowRouting=true, should not display thre nprogress when I run following code:

router.push(
    {
        pathname: router.pathname,
        query: {
            tab: 'album',
        },
    },
    undefined,
    { shallow: true },
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant