René's URL Explorer Experiment


Title: fix(shared): Avoid revalidating first page on infinite pagination by panteliselef · Pull Request #7153 · clerk/javascript · GitHub

Open Graph Title: fix(shared): Avoid revalidating first page on infinite pagination by panteliselef · Pull Request #7153 · clerk/javascript

X Title: fix(shared): Avoid revalidating first page on infinite pagination by panteliselef · Pull Request #7153 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(shared): Avoid revalidating first page on infinite pagination by panteliselef · Pull Request #7153 · clerk/javascript

Open Graph Description: Description SWRInfinite revalidates the first page when fetching the second page, but stops there which makes the behaviour inconsistent compared to fetching the next pages (>=3). This PR addres...

X Description: Description SWRInfinite revalidates the first page when fetching the second page, but stops there which makes the behaviour inconsistent compared to fetching the next pages (>=3). This PR ad...

Opengraph URL: https://github.com/clerk/javascript/pull/7153

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:191e13a3-fefb-7bef-27df-f6e5c1ea1e35
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD10:226200:426A6E7:5A1CF8B:6AFADF2A
html-safe-nonce055e5e83fab2fdb6fb64198ae8026f2dbe4afe44299c1b6d457b2f546f04db94
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDEwOjIyNjIwMDo0MjZBNkU3OjVBMUNGOEI6NkFGQURGMkEiLCJ2aXNpdG9yX2lkIjoiMzA5NjQ4NTkyNjg2ODI3OTA4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf5c36abde0051b08034911168738a72a2bde5e4818e5a02b210165738f9283bb
hovercard-subject-tagpull_request:2979895446
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/7153/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8220c3f232947bf8964f91c1dd25b46ede72dcd9aa66a6b0e83dd18cac7ae241/clerk/javascript/pull/7153
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8220c3f232947bf8964f91c1dd25b46ede72dcd9aa66a6b0e83dd18cac7ae241/clerk/javascript/pull/7153
og:image:altDescription SWRInfinite revalidates the first page when fetching the second page, but stops there which makes the behaviour inconsistent compared to fetching the next pages (>=3). This PR addres...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepanteliselef
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/7153#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7153
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7153
Sign uphttps://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
Reloadhttps://github.com/clerk/javascript/pull/7153
Reloadhttps://github.com/clerk/javascript/pull/7153
Reloadhttps://github.com/clerk/javascript/pull/7153
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
panteliselefhttps://github.com/panteliselef
mainhttps://github.com/clerk/javascript/tree/main
elef/align-swr-infinite-behaviourhttps://github.com/clerk/javascript/tree/elef/align-swr-infinite-behaviour
Conversationhttps://github.com/clerk/javascript/pull/7153
Commits3 (3)https://github.com/clerk/javascript/pull/7153/commits
Checkshttps://github.com/clerk/javascript/pull/7153/checks
Files changedhttps://github.com/clerk/javascript/pull/7153/files
fix(shared): Avoid revalidating first page on infinite paginationhttps://github.com/clerk/javascript/pull/7153#top
panteliselefhttps://github.com/panteliselef
mainhttps://github.com/clerk/javascript/tree/main
elef/align-swr-infinite-behaviourhttps://github.com/clerk/javascript/tree/elef/align-swr-infinite-behaviour
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#issue-3590369539
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/panteliselef
fix(shared): Avoid revalidating first page on infinite paginationhttps://github.com/clerk/javascript/pull/7153/commits/4bb1e338874d0356d1773194603137b0e908ead1
4bb1e33https://github.com/clerk/javascript/pull/7153/commits/4bb1e338874d0356d1773194603137b0e908ead1
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#event-20726227408
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#issuecomment-3490442327
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
eb129f4https://github.com/clerk/javascript/commit/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
Click here to learn what changesets arehttps://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 PRhttps://github.com/clerk/javascript/new/elef/align-swr-infinite-behaviour?filename=.changeset/plenty-ladybugs-work.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A%22%40clerk%2Fshared%22%3A%20patch%0A---%0A%0Afix(shared)%3A%20Avoid%20revalidating%20first%20page%20on%20infinite%20pagination%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#issuecomment-3490442367
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/vJ4HdZjXEQy59grhQ49SehADp1tN
Previewhttps://clerk-js-sandbox-git-elef-align-swr-infinite-behaviour.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-elef-align-swr-infinite-behaviour.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#issuecomment-3490443154
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#event-20726237213
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-l05tabk64.clerkstage.dev
Previewhttps://clerk-js-sandbox-l05tabk64.clerkstage.dev
November 5, 2025 10:39https://github.com/clerk/javascript/pull/7153#event-20726245330
View deploymenthttps://clerk-js-sandbox-l05tabk64.clerkstage.dev
https://github.com/panteliselef
add changesethttps://github.com/clerk/javascript/pull/7153/commits/7fac08b9cd07f896e2831ee16ef82fae5d6a826b
7fac08bhttps://github.com/clerk/javascript/pull/7153/commits/7fac08b9cd07f896e2831ee16ef82fae5d6a826b
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 5, 2025 https://github.com/clerk/javascript/pull/7153#pullrequestreview-3421182525
View reviewed changes https://github.com/clerk/javascript/pull/7153/files/4bb1e338874d0356d1773194603137b0e908ead1
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/7153#pullrequestreview-3421182525
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
f97679ahttps://github.com/clerk/javascript/commit/f97679a98c87606260f0a0c5cf93baec404df9ed
4bb1e33https://github.com/clerk/javascript/commit/4bb1e338874d0356d1773194603137b0e908ead1
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
packages/clerk-js/src/ui/hooks/__tests__/useCoreOrganizationList.test.tsxhttps://github.com/clerk/javascript/pull/7153/files/4bb1e338874d0356d1773194603137b0e908ead1#diff-dcfd7d30309fa245860712174e6872fe655ba0a72c08eb801f333b36833ab2e0
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
packages/shared/src/react/hooks/usePagesOrInfinite.tshttps://github.com/clerk/javascript/pull/7153/files/4bb1e338874d0356d1773194603137b0e908ead1#diff-3c5c59938cce20b3e879bc301a6ad31c9de2eae513f4cd6f347455eee178381b
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-pcajlym1b.clerkstage.dev
Previewhttps://clerk-js-sandbox-pcajlym1b.clerkstage.dev
November 5, 2025 10:43https://github.com/clerk/javascript/pull/7153#event-20726342473
View deploymenthttps://clerk-js-sandbox-pcajlym1b.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#issuecomment-3490473549
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
Open in StackBlitzhttps://pkg.pr.new/template/df018494-23a4-46ee-af65-2f7db0e2b70e
eb129f4https://github.com/clerk/javascript/runs/54567862782
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/panteliselef
patchhttps://github.com/clerk/javascript/pull/7153/commits/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
eb129f4https://github.com/clerk/javascript/pull/7153/commits/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-kla7268xm.clerkstage.dev
Previewhttps://clerk-js-sandbox-kla7268xm.clerkstage.dev
November 5, 2025 10:47https://github.com/clerk/javascript/pull/7153#event-20726438390
View deploymenthttps://clerk-js-sandbox-kla7268xm.clerkstage.dev
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 5, 2025 https://github.com/clerk/javascript/pull/7153#pullrequestreview-3421213637
View reviewed changes https://github.com/clerk/javascript/pull/7153/files/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/7153#pullrequestreview-3421213637
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
7fac08bhttps://github.com/clerk/javascript/commit/7fac08b9cd07f896e2831ee16ef82fae5d6a826b
eb129f4https://github.com/clerk/javascript/commit/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/tmilewski
tmilewskihttps://github.com/tmilewski
Nov 5, 2025 https://github.com/clerk/javascript/pull/7153#pullrequestreview-3422608890
View reviewed changes https://github.com/clerk/javascript/pull/7153/files/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
5536429https://github.com/clerk/javascript/commit/55364291e245ff05ca1e50e614e502d2081b87fb
Nov 5, 2025https://github.com/clerk/javascript/pull/7153#event-20734255716
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
November 5, 2025 15:41https://github.com/clerk/javascript/pull/7153#event-20734256483
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Nov 5, 2025 https://github.com/clerk/javascript/pull/7153#ref-pullrequest-3591697699
ci(repo): Version packages #7154 https://github.com/clerk/javascript/pull/7154
Deployedhttps://clerk-js-sandbox-kla7268xm.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-kla7268xm.clerkstage.dev
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7153
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/7153/files/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
https://github.com/tmilewski
tmilewski https://github.com/tmilewski
https://github.com/clerk/javascript/pull/7153/files/eb129f4c3d4d2ab2acce299e20b0b573542ed2fd
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Please reload this pagehttps://github.com/clerk/javascript/pull/7153
https://github.com/panteliselef
https://github.com/tmilewski
https://github.com/clerk-cookie
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.