8000 Resets to initial state when there is Link with prefetch · Issue #388 · 47ng/nuqs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Resets to initial state when there is Link with prefetch #388
Closed
@Arctomachine

Description

@Arctomachine

Reproduction code: https://github.com/Arctomachine/usequerystate-bug

Only works in production (start) mode, not in dev

  1. pnpm install
  2. pnpm run build
  3. pnpm run start
  4. Got to index page /
  5. Click checkbox - page should flicker and reset to default value
  6. Click it again - should work as expected
  7. Move cursor over any link in grid - it should reset again

To "fix" it go to ./app/Wrapper.tsx, at line 33 change prefetch={true} to prefetch={false}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnext.jsIssue is related to Next.js internals rather than this library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0