René's URL Explorer Experiment


Title: refactor(js): extract the refresh scheduler from TokenCache by jacekradko · Pull Request #9042 · clerk/javascript · GitHub

Open Graph Title: refactor(js): extract the refresh scheduler from TokenCache by jacekradko · Pull Request #9042 · clerk/javascript

X Title: refactor(js): extract the refresh scheduler from TokenCache by jacekradko · Pull Request #9042 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - refactor(js): extract the refresh scheduler from TokenCache by jacekradko · Pull Request #9042 · clerk/javascript

Open Graph Description: Step 4 of the TokenCache decouple (SDK-117): lifts both setTimeout timers (expiration cleanup + proactive refresh) out of tokenCache.ts into a createRefreshScheduler collaborator with an injected c...

X Description: Step 4 of the TokenCache decouple (SDK-117): lifts both setTimeout timers (expiration cleanup + proactive refresh) out of tokenCache.ts into a createRefreshScheduler collaborator with an injected c...

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

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:2a240c36-69db-411a-1613-7530f908cfdd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8CC:3D6C24:2ABBDAD:3BF6A90:6AFAC29C
html-safe-nonce5e0b6681e6be3a83d07d26fe0b574f41d6ce6f93c5d0df48fb6e74e3330cee9a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOENDOjNENkMyNDoyQUJCREFEOjNCRjZBOTA6NkFGQUMyOUMiLCJ2aXNpdG9yX2lkIjoiNDY5MzUzNTI4MDcwMTU1NTM1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ba98f7e9f40222ba32c6c3df0f6710a1cac17625da64cf85d14d79ed2b5d4aa
hovercard-subject-tagpull_request:3959984213
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/9042/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e524306366e2ee0364b0d6485a6039d55935b6eba2a0789e63ebc18e4563fa0b/clerk/javascript/pull/9042
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e524306366e2ee0364b0d6485a6039d55935b6eba2a0789e63ebc18e4563fa0b/clerk/javascript/pull/9042
og:image:altStep 4 of the TokenCache decouple (SDK-117): lifts both setTimeout timers (expiration cleanup + proactive refresh) out of tokenCache.ts into a createRefreshScheduler collaborator with an injected c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejacekradko
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9042#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9042
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%2F9042
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/9042
Reloadhttps://github.com/clerk/javascript/pull/9042
Reloadhttps://github.com/clerk/javascript/pull/9042
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
jacekradkohttps://github.com/jacekradko
mainhttps://github.com/clerk/javascript/tree/main
jacek/sdk-140-extract-refresh-schedulerhttps://github.com/clerk/javascript/tree/jacek/sdk-140-extract-refresh-scheduler
Conversationhttps://github.com/clerk/javascript/pull/9042
Commits3 (3)https://github.com/clerk/javascript/pull/9042/commits
Checkshttps://github.com/clerk/javascript/pull/9042/checks
Files changedhttps://github.com/clerk/javascript/pull/9042/files
refactor(js): extract the refresh scheduler from TokenCachehttps://github.com/clerk/javascript/pull/9042#top
jacekradkohttps://github.com/jacekradko
mainhttps://github.com/clerk/javascript/tree/main
jacek/sdk-140-extract-refresh-schedulerhttps://github.com/clerk/javascript/tree/jacek/sdk-140-extract-refresh-scheduler
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#issue-4773091838
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
refactor(js): extract the refresh scheduler from TokenCachehttps://github.com/clerk/javascript/pull/9042/commits/46fcf737bcdec66cc323596e9c962fc95d4698fd
46fcf73https://github.com/clerk/javascript/pull/9042/commits/46fcf737bcdec66cc323596e9c962fc95d4698fd
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-dcp5xdg4c.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-dcp5xdg4c.clerkstage.dev
June 30, 2026 02:17https://github.com/clerk/javascript/pull/9042#event-27357512419
View deploymenthttps://clerk-js-sandbox-dcp5xdg4c.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#issuecomment-4839279610
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
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/4uG14P4HQtzcwxux2JSPcT3x8hCD
Previewhttps://clerk-js-sandbox-git-jacek-sdk-140-extract-refresh-scheduler.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-jacek-sdk-140-extract-refresh-scheduler.clerkstage.dev?via=pr-comment-feedback-link
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/6QUNehRRWz373rnBzLNmDSTmE4q3
Previewhttps://swingset-git-jacek-sdk-140-extract-refresh-scheduler.clerkstage.dev
Commenthttps://vercel.live/open-feedback/swingset-git-jacek-sdk-140-extract-refresh-scheduler.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=9042
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-r45ujmlkk.clerkstage.dev
Preview – swingsethttps://swingset-r45ujmlkk.clerkstage.dev
June 30, 2026 02:18https://github.com/clerk/javascript/pull/9042#event-27357541808
View deploymenthttps://swingset-r45ujmlkk.clerkstage.dev
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#issuecomment-4839299100
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
55e8671https://github.com/clerk/javascript/commit/55e8671c5eda4b82b28f70705fb07389d835f4db
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/jacek/sdk-140-extract-refresh-scheduler?filename=.changeset/two-adults-wink.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0Arefactor(js)%3A%20extract%20the%20refresh%20scheduler%20from%20TokenCache%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#event-27357607557
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#issuecomment-4839301310
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9042?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
a7ade3dhttps://github.com/clerk/javascript/commit/a7ade3d1e4f9059fa32a10849ebfcd3ee8043ce7
55e8671https://github.com/clerk/javascript/commit/55e8671c5eda4b82b28f70705fb07389d835f4db
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#issuecomment-4839309035
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
Open in StackBlitzhttps://pkg.pr.new/template/891440b9-2287-444c-8296-871d1a954897
55e8671https://github.com/clerk/javascript/runs/85530433177
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 30, 2026https://github.com/clerk/javascript/pull/9042#issuecomment-4839313246
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 30, 2026 https://github.com/clerk/javascript/pull/9042#pullrequestreview-4596772402
View reviewed changes https://github.com/clerk/javascript/pull/9042/files/46fcf737bcdec66cc323596e9c962fc95d4698fd
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9042#pullrequestreview-4596772402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
c5697d7https://github.com/clerk/javascript/commit/c5697d7df140705d327cd0aa68fa94199e57f219
46fcf73https://github.com/clerk/javascript/commit/46fcf737bcdec66cc323596e9c962fc95d4698fd
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
July 1, 2026 15:08https://github.com/clerk/javascript/pull/9042#commits-pushed-a7ade3d
test(js): pin absolute-expiry refresh scheduling end-to-end; doc + cl…https://github.com/clerk/javascript/pull/9042/commits/a7ade3d1e4f9059fa32a10849ebfcd3ee8043ce7
a7ade3dhttps://github.com/clerk/javascript/pull/9042/commits/a7ade3d1e4f9059fa32a10849ebfcd3ee8043ce7
Merge main into jacek/sdk-140-extract-refresh-schedulerhttps://github.com/clerk/javascript/pull/9042/commits/55e8671c5eda4b82b28f70705fb07389d835f4db
55e8671https://github.com/clerk/javascript/pull/9042/commits/55e8671c5eda4b82b28f70705fb07389d835f4db
#9030https://github.com/clerk/javascript/pull/9030
#9030https://github.com/clerk/javascript/pull/9030
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-qagdfb2n2.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-qagdfb2n2.clerkstage.dev
July 7, 2026 03:31https://github.com/clerk/javascript/pull/9042#event-27642884042
View deploymenthttps://clerk-js-sandbox-qagdfb2n2.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-rgn8u7atb.clerkstage.dev
Preview – swingsethttps://swingset-rgn8u7atb.clerkstage.dev
July 7, 2026 03:32https://github.com/clerk/javascript/pull/9042#event-27642911510
View deploymenthttps://swingset-rgn8u7atb.clerkstage.dev
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 27, 2026https://github.com/clerk/javascript/pull/9042#issuecomment-5432998701
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Stale https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3AStale
Aug 27, 2026https://github.com/clerk/javascript/pull/9042#event-30076476387
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Aug 27, 2026https://github.com/clerk/javascript/pull/9042#event-30078816140
Deployedhttps://swingset-rgn8u7atb.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-rgn8u7atb.clerkstage.dev
Deployedhttps://clerk-js-sandbox-qagdfb2n2.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-qagdfb2n2.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%2F9042
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9042/files/46fcf737bcdec66cc323596e9c962fc95d4698fd
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Stale https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3AStale
Please reload this pagehttps://github.com/clerk/javascript/pull/9042
https://github.com/jacekradko
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.