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

fix: WHS stabilisation #457

Merged
merged 2 commits into from
Jan 15, 2024
Merged

fix: WHS stabilisation #457

merged 2 commits into from
Jan 15, 2024

Conversation

franky47
Copy link
Member

next@14.0.5-canary.54 stabilised the WHS flag in PR vercel/next.js#60557

This updates the e2e test suite to no longer check for it in the canaries, and removes the check in useQueryState, as useEffect-ing over a non-reactive useSearchParams before WHS is a noop anyway.

We still need the history patch to support the pages router, as useSearchParams is not reactive there (yet?).

Copy link

vercel bot commented Jan 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuqs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2024 9:17pm

@franky47 franky47 marked this pull request as ready for review January 15, 2024 21:20
@franky47 franky47 merged commit 3812dcc into next Jan 15, 2024
14 checks passed
@franky47 franky47 deleted the v2/whs-stabilisation branch January 15, 2024 21:20
franky47 added a commit that referenced this pull request Jan 17, 2024
* fix: WHS has been stabilised

* chore: Add test suite for 14.0.3 with WHS
franky47 added a commit that referenced this pull request Jan 17, 2024
franky47 added a commit that referenced this pull request Jan 17, 2024
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

Successfully merging this pull request may close these issues.

1 participant