Skip to content

fix: Import from next/navigation.js#939

Merged
franky47 merged 1 commit intonextfrom
fix/next-navigation.js
Apr 11, 2025
Merged

fix: Import from next/navigation.js#939
franky47 merged 1 commit intonextfrom
fix/next-navigation.js

Conversation

@franky47
Copy link
Member

@franky47 franky47 commented Mar 17, 2025

So that the agonostic adapter is happy about the import when bundled under the pages router.

Closes #869.

@franky47 franky47 added adapters/next/app Uses the Next.js app router adapters/next/pages Uses the Next.js pages router labels Mar 17, 2025
@franky47 franky47 added this to the 🪵 Backlog milestone Mar 17, 2025
@vercel
Copy link

vercel bot commented Mar 17, 2025

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 Apr 11, 2025 10:38am

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 17, 2025

pnpm add https://pkg.pr.new/nuqs@939

commit: 507665f

So that the agonostic adapter is happy about the import when
bundled under the pages router.

Closes #869.
@franky47 franky47 force-pushed the fix/next-navigation.js branch from 3158f57 to 507665f Compare April 11, 2025 10:36
@franky47 franky47 merged commit 1e77f0e into next Apr 11, 2025
29 checks passed
@franky47 franky47 deleted the fix/next-navigation.js branch April 11, 2025 10:46
@github-actions
Copy link

🎉 This PR is included in version 2.4.2-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 2.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@franky47 franky47 removed this from the 🚀 Shipping next milestone Apr 14, 2025
@franky47 franky47 mentioned this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adapters/next/app Uses the Next.js app router adapters/next/pages Uses the Next.js pages router released on @beta released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when using the "Unified (router-agnostic)" imports (Error: Cannot find module '/node_modules/next/navigation'…)

1 participant