| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8d4169a2-be22-ef89-29ee-fe455a0a7bff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CE6:2BFFB5:7707A9:AA1A65:6AFAAC42 |
| html-safe-nonce | b10906156ee324896f1198d02240239ce9d1cae53a290fa3bc502591b48c7efc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0U2OjJCRkZCNTo3NzA3QTk6QUExQTY1OjZBRkFBQzQyIiwidmlzaXRvcl9pZCI6IjcxMDQ2NDI1NzgyMjEwMTgxNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | eb6db6e7851980395cb539ef3e8aaa0625ae2fdf23868dbe22c0c0997de91001 |
| hovercard-subject-tag | pull_request:3356545505 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/7989/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/55d113f22f7c324b065a5880a8b1edc4341ebe2ea830f529839708f629d0cadf/clerk/javascript/pull/7989 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55d113f22f7c324b065a5880a8b1edc4341ebe2ea830f529839708f629d0cadf/clerk/javascript/pull/7989 |
| og:image:alt | Summary
Fixes #7913
Removes usePathname() from useInternalNavFun, fixing build failures when using cacheComponents: true with dynamic routes (e.g. [id]).
Root Cause
The call chain was:
ClerkProvide... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jacekradko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/7989#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7989 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7989 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript |
| Reload | https://github.com/clerk/javascript/pull/7989 |
| Reload | https://github.com/clerk/javascript/pull/7989 |
| Reload | https://github.com/clerk/javascript/pull/7989 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| jacekradko | https://github.com/jacekradko |
| main | https://github.com/clerk/javascript/tree/main |
| jacek/fix-usepathname-cache-components | https://github.com/clerk/javascript/tree/jacek/fix-usepathname-cache-components |
| Conversation | https://github.com/clerk/javascript/pull/7989 |
| Commits5 (5) | https://github.com/clerk/javascript/pull/7989/commits |
| Checks | https://github.com/clerk/javascript/pull/7989/checks |
| Files changed | https://github.com/clerk/javascript/pull/7989/files |
| fix(nextjs): Remove usePathname from navigation hook for cacheComponents compat | https://github.com/clerk/javascript/pull/7989#top |
| jacekradko | https://github.com/jacekradko |
| main | https://github.com/clerk/javascript/tree/main |
| jacek/fix-usepathname-cache-components | https://github.com/clerk/javascript/tree/jacek/fix-usepathname-cache-components |
|
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#issue-4025649648 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| #7913 | https://github.com/clerk/javascript/issues/7913 |
| reproduction repo | https://github.com/Pmacdon15/minimal |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| March 4, 2026 22:12 | https://github.com/clerk/javascript/pull/7989#commits-pushed-f931d03 |
| fix(nextjs): Remove usePathname from useInternalNavFun for cacheCompo… | https://github.com/clerk/javascript/pull/7989/commits/f931d03e8cab59aeeed4ebb60d087805721ed698 |
| f931d03 | https://github.com/clerk/javascript/pull/7989/commits/f931d03e8cab59aeeed4ebb60d087805721ed698 |
| chore: Add changeset for usePathname fix | https://github.com/clerk/javascript/pull/7989/commits/0f1e20c50472a6b51bfc8994bdbe212b141f70be |
| 0f1e20c | https://github.com/clerk/javascript/pull/7989/commits/0f1e20c50472a6b51bfc8994bdbe212b141f70be |
| test(nextjs): Remove Suspense wrapper from cache-components layout, a… | https://github.com/clerk/javascript/pull/7989/commits/f82abb27a8c3c0d624f8bd2189a325757eb60572 |
| f82abb2 | https://github.com/clerk/javascript/pull/7989/commits/f82abb27a8c3c0d624f8bd2189a325757eb60572 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#issuecomment-4002093325 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| 5562c40 | https://github.com/clerk/javascript/commit/5562c40404b61b221fd7488302368dddd1dd83dd |
| Click here to learn what changesets are | https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md |
| Click here if you're a maintainer who wants to add another changeset to this PR | https://github.com/clerk/javascript/new/jacek/fix-usepathname-cache-components?filename=.changeset/thirty-poets-clap.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20Remove%20usePathname%20from%20navigation%20hook%20for%20cacheComponents%20compat%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#issuecomment-4002093374 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| clerk-js-sandbox | https://vercel.com/clerk-production/clerk-js-sandbox |
| https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667 |
| Ready | https://vercel.com/clerk-production/clerk-js-sandbox/HyiirCmBHFiQth3m4PZvX4TfB3J6 |
| Preview | https://clerk-js-sandbox-git-jacek-fix-usepathname-cache-components.clerkstage.dev |
| Comment | https://vercel.live/open-feedback/clerk-js-sandbox-git-jacek-fix-usepathname-cache-components.clerkstage.dev?via=pr-comment-feedback-link |
| https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=7989 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
|
integration
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#event-23282568364 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-k4n3w6j0n.clerkstage.dev |
| Preview | https://clerk-js-sandbox-k4n3w6j0n.clerkstage.dev |
| March 5, 2026 04:23 | https://github.com/clerk/javascript/pull/7989#event-23282575398 |
| View deployment | https://clerk-js-sandbox-k4n3w6j0n.clerkstage.dev |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#issuecomment-4002103103 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| Open in StackBlitz | https://pkg.pr.new/template/05195cec-0ab1-46a9-8335-5895013dce4b |
| 5562c40 | https://github.com/clerk/javascript/runs/65879738135 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#issuecomment-4002104200 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| c444727 | https://github.com/clerk/javascript/commit/c4447272a1d873913ecb59e26d520c409cb9ab69 |
| 184528d | https://github.com/clerk/javascript/commit/184528de90f06991dfd35de8ed749ff20df3d366 |
| fix(react): Fix stale SSR state during cross-tab sign-out #7865 | https://github.com/clerk/javascript/pull/7865 |
| feat(nextjs): Add support for Next.js 16 cache components #7595 | https://github.com/clerk/javascript/pull/7595 |
| feat(nextjs): Isolate nonce fetch in Suspense boundary for PPR support #7773 | https://github.com/clerk/javascript/pull/7773 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-i68f7acxv.clerkstage.dev |
| Preview | https://clerk-js-sandbox-i68f7acxv.clerkstage.dev |
| March 5, 2026 04:45 | https://github.com/clerk/javascript/pull/7989#event-23282973484 |
| View deployment | https://clerk-js-sandbox-i68f7acxv.clerkstage.dev |
| test(nextjs): Add E2E tests for dynamic route with cacheComponents | https://github.com/clerk/javascript/pull/7989/commits/184528de90f06991dfd35de8ed749ff20df3d366 |
| 184528d | https://github.com/clerk/javascript/pull/7989/commits/184528de90f06991dfd35de8ed749ff20df3d366 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| force-pushed | https://github.com/clerk/javascript/compare/c4447272a1d873913ecb59e26d520c409cb9ab69..184528de90f06991dfd35de8ed749ff20df3d366 |
| c444727 | https://github.com/clerk/javascript/commit/c4447272a1d873913ecb59e26d520c409cb9ab69 |
| 184528d | https://github.com/clerk/javascript/commit/184528de90f06991dfd35de8ed749ff20df3d366 |
|
Compare
| https://github.com/clerk/javascript/compare/c4447272a1d873913ecb59e26d520c409cb9ab69..184528de90f06991dfd35de8ed749ff20df3d366 |
| March 5, 2026 05:00 | https://github.com/clerk/javascript/pull/7989#event-23283259707 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-8l4a54ib7.clerkstage.dev |
| Preview | https://clerk-js-sandbox-8l4a54ib7.clerkstage.dev |
| March 5, 2026 05:01 | https://github.com/clerk/javascript/pull/7989#event-23283275183 |
| View deployment | https://clerk-js-sandbox-8l4a54ib7.clerkstage.dev |
| Merge branch 'main' into jacek/fix-usepathname-cache-components | https://github.com/clerk/javascript/pull/7989/commits/5562c40404b61b221fd7488302368dddd1dd83dd |
| 5562c40 | https://github.com/clerk/javascript/pull/7989/commits/5562c40404b61b221fd7488302368dddd1dd83dd |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| brkalow | https://github.com/brkalow |
| nikosdouvlis | https://github.com/nikosdouvlis |
| March 5, 2026 13:25 | https://github.com/clerk/javascript/pull/7989#event-23297715316 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-mgd0cxkqt.clerkstage.dev |
| Preview | https://clerk-js-sandbox-mgd0cxkqt.clerkstage.dev |
| March 5, 2026 13:26 | https://github.com/clerk/javascript/pull/7989#event-23297733565 |
| View deployment | https://clerk-js-sandbox-mgd0cxkqt.clerkstage.dev |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
|
Mar 5, 2026
| https://github.com/clerk/javascript/pull/7989#pullrequestreview-3896589551 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/7989/files/5562c40404b61b221fd7488302368dddd1dd83dd |
| https://github.com/tmilewski |
| tmilewski | https://github.com/tmilewski |
|
Mar 5, 2026
| https://github.com/clerk/javascript/pull/7989#pullrequestreview-3896962244 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/7989/files/5562c40404b61b221fd7488302368dddd1dd83dd |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| 3157c25 | https://github.com/clerk/javascript/commit/3157c25d5df8c0905ba4fa6693a87731b1105d44 |
| Mar 5, 2026 | https://github.com/clerk/javascript/pull/7989#event-23299903017 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| March 5, 2026 14:30 | https://github.com/clerk/javascript/pull/7989#event-23299904551 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
Mar 5, 2026
| https://github.com/clerk/javascript/pull/7989#ref-pullrequest-4024812759 |
|
ci(repo): Version packages
#7984
| https://github.com/clerk/javascript/pull/7984 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
|
Mar 5, 2026
| https://github.com/clerk/javascript/pull/7989#ref-pullrequest-4028714902 |
|
fix: resolve cacheComponents build error with @clerk/nextjs canary
Pmacdon15/minimal#1
| https://github.com/Pmacdon15/minimal/pull/1 |
| jacekradko | https://github.com/jacekradko |
|
Mar 5, 2026
| https://github.com/clerk/javascript/pull/7989#ref-commit-47ecfbd |
| test(nextjs): Add tests for useInternalNavFun navigation promise reso… | https://github.com/clerk/javascript/commit/47ecfbd5c0ec8382563e4750aec535464690da50 |
| 47ecfbd | https://github.com/clerk/javascript/commit/47ecfbd5c0ec8382563e4750aec535464690da50 |
| #7989 | https://github.com/clerk/javascript/pull/7989 |
| #2899 | https://github.com/clerk/javascript/pull/2899 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
|
Mar 5, 2026
| https://github.com/clerk/javascript/pull/7989#ref-pullrequest-4029202162 |
|
test(nextjs): Add tests for useInternalNavFun navigation promise resolution
#7996
| https://github.com/clerk/javascript/pull/7996 |
| https://github.com/marcoshernanz |
| marcoshernanz | https://github.com/marcoshernanz |
|
Aug 26, 2026
| https://github.com/clerk/javascript/pull/7989#ref-issue-3564095471 |
|
Setting cacheComponents=true breaks Clerk sign-in route with “Uncached data outside ” during build
vercel/next.js#85490
| https://github.com/vercel/next.js/issues/85490 |
| https://github.com/Joozty |
| Joozty | https://github.com/Joozty |
|
Oct 30, 2026
| https://github.com/clerk/javascript/pull/7989#ref-issue-6115623487 |
|
@clerk/nextjs with cacheComponents: after a root param change (/en → /sk), Clerk.navigate() within /sk never resolves
#10539
| https://github.com/clerk/javascript/issues/10539 |
| Deployed | https://clerk-js-sandbox-mgd0cxkqt.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-mgd0cxkqt.clerkstage.dev |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7989 |
|
| https://github.com/tmilewski |
|
tmilewski
| https://github.com/tmilewski |
|
| https://github.com/clerk/javascript/pull/7989/files/5562c40404b61b221fd7488302368dddd1dd83dd |
|
| https://github.com/nikosdouvlis |
|
nikosdouvlis
| https://github.com/nikosdouvlis |
|
| https://github.com/clerk/javascript/pull/7989/files/5562c40404b61b221fd7488302368dddd1dd83dd |
|
| https://github.com/brkalow |
|
brkalow
| https://github.com/brkalow |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
|
integration
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
|
Next Js Project fails to build while using cached components and routes with params
| https://github.com/clerk/javascript/issues/7913 |
| Please reload this page | https://github.com/clerk/javascript/pull/7989 |
|
| https://github.com/jacekradko |
|
| https://github.com/tmilewski |
|
| https://github.com/nikosdouvlis |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |