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

router.refresh isn't working when intercepting routes #51310

Open
1 task done
freddyval7 opened this issue Jun 14, 2023 · 0 comments
Open
1 task done

router.refresh isn't working when intercepting routes #51310

freddyval7 opened this issue Jun 14, 2023 · 0 comments
Labels
area: app App directory (appDir: true) bug Issue was opened via the bug report template. linear: next Confirmed issue that is tracked by the Next.js team. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes.

Comments

@freddyval7
Copy link

freddyval7 commented Jun 14, 2023

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
      Platform: linux
      Arch: x64
      Version: #22 SMP Tue Jan 10 18:39:00 UTC 2023
    Binaries:
      Node: 18.14.2
      npm: 9.5.0
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.4.4
      eslint-config-next: 13.4.4
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.0.4

Which area(s) of Next.js are affected? (leave empty if unsure)

App directory (appDir: true)

Link to the code that reproduces this issue or a replay of the bug

https://codesandbox.io/p/sandbox/sleepy-violet-84j988?file=%2Fapp%2F%40modal%2F%28.%29login%2Fpage.tsx%3A8%2C32

To Reproduce

Click the "Refresh" button, it should refresh and show a new random number, but it doesn't

Describe the Bug

Is not refreshing when using intercepting routes feature

Expected Behavior

To refresh and get a new random number

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

NEXT-1845

@freddyval7 freddyval7 added the bug Issue was opened via the bug report template. label Jun 14, 2023
@github-actions github-actions bot added the area: app App directory (appDir: true) label Jun 14, 2023
@balazsorban44 balazsorban44 added the linear: next Confirmed issue that is tracked by the Next.js team. label Dec 11, 2023
@balazsorban44 balazsorban44 added the Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes. label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: app App directory (appDir: true) bug Issue was opened via the bug report template. linear: next Confirmed issue that is tracked by the Next.js team. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes.
Projects
None yet
Development

No branches or pull requests

2 participants