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

manipulating searchParams behavior differs in canary #47996

Open
1 task done
phishy opened this issue Apr 6, 2023 · 0 comments
Open
1 task done

manipulating searchParams behavior differs in canary #47996

phishy opened this issue Apr 6, 2023 · 0 comments
Labels
area: app App directory (appDir: true) bug Issue was opened via the bug report template.

Comments

@phishy
Copy link

phishy commented Apr 6, 2023

Verify canary release

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

Provide environment information

Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64
    Binaries:
      Node: 18.15.0
      npm: 9.5.0
      Yarn: 1.22.10
      pnpm: 8.1.1
    Relevant packages:
      next: 13.2.5-canary.31
      eslint-config-next: 13.2.4
      react: 18.2.0
      react-dom: 18.2.0

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

App directory (appDir: true)

Link to the code that reproduces this issue

https://github.com/phishy/nextjs-canary

To Reproduce

ouchie.mov

Describe the Bug

The canary version of Next differs from latest release, in that client components that change the query parameters, basically reload the page.

Expected Behavior

See the video, but I'd expect it to act the way it acts in the latest version, wherein, filtering in a client component that manipulates the query params does not reload the page.

Which browser are you using? (if relevant)

Brave 1.49.132

How are you deploying your application? (if relevant)

No response

@phishy phishy added the bug Issue was opened via the bug report template. label Apr 6, 2023
@github-actions github-actions bot added the area: app App directory (appDir: true) label Apr 6, 2023
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.
Projects
None yet
Development

No branches or pull requests

1 participant