René's URL Explorer Experiment


Title: fix(clerk-js): Use __internal_setActiveInProgress to prevent navigations by dstaley · Pull Request #5515 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-js): Use __internal_setActiveInProgress to prevent navigations by dstaley · Pull Request #5515 · clerk/javascript

X Title: fix(clerk-js): Use __internal_setActiveInProgress to prevent navigations by dstaley · Pull Request #5515 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(clerk-js): Use __internal_setActiveInProgress to prevent navigations by dstaley · Pull Request #5515 · clerk/javascript

Open Graph Description: Description This PR introduces a new flag on the core Clerk class, __internal_setActiveInProgress, to indicate that a call to setActive is in flight. This can be used to guard against performing na...

X Description: Description This PR introduces a new flag on the core Clerk class, __internal_setActiveInProgress, to indicate that a call to setActive is in flight. This can be used to guard against performing na...

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

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:f997fe4d-15c7-a493-6607-3a172ae68ea3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBDB8:2D6147:C87476:11C1DF5:6AFB60D4
html-safe-nonce544d13a1b7062ab2a5b2b9d002336ad46a34f2bf6f8c7ae44e4b66ac1fcc9bba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREI4OjJENjE0NzpDODc0NzY6MTFDMURGNTo2QUZCNjBENCIsInZpc2l0b3JfaWQiOiI4NTM3NTEyNzc4NDg1NDI0MzQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfd88e6e0e14be31e47e76630dd0d6a6c27536728c691ac05635eadcec942eb1c
hovercard-subject-tagpull_request:2434924780
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/5515/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b593614b41c9ce124525f771456c7045a7fbf80653cdcaf4ef6cbcbc2beb653a/clerk/javascript/pull/5515
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b593614b41c9ce124525f771456c7045a7fbf80653cdcaf4ef6cbcbc2beb653a/clerk/javascript/pull/5515
og:image:altDescription This PR introduces a new flag on the core Clerk class, __internal_setActiveInProgress, to indicate that a call to setActive is in flight. This can be used to guard against performing na...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedstaley
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/5515#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5515
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%2F5515
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/5515
Reloadhttps://github.com/clerk/javascript/pull/5515
Reloadhttps://github.com/clerk/javascript/pull/5515
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues45 (45)https://github.com/clerk/javascript/issues
Pull requests110 (110)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
dstaleyhttps://github.com/dstaley
mainhttps://github.com/clerk/javascript/tree/main
ds.fix/setactive-in-progresshttps://github.com/clerk/javascript/tree/ds.fix/setactive-in-progress
Conversationhttps://github.com/clerk/javascript/pull/5515
Commits6 (6)https://github.com/clerk/javascript/pull/5515/commits
Checkshttps://github.com/clerk/javascript/pull/5515/checks
Files changedhttps://github.com/clerk/javascript/pull/5515/files
fix(clerk-js): Use __internal_setActiveInProgress to prevent navigationshttps://github.com/clerk/javascript/pull/5515#top
dstaleyhttps://github.com/dstaley
mainhttps://github.com/clerk/javascript/tree/main
ds.fix/setactive-in-progresshttps://github.com/clerk/javascript/tree/ds.fix/setactive-in-progress
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Apr 2, 2025https://github.com/clerk/javascript/pull/5515#issue-2967195470
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
dstaleyhttps://github.com/dstaley
April 2, 2025 11:14https://github.com/clerk/javascript/pull/5515#commits-pushed-97a0a0b
https://github.com/dstaley
fix(clerk-js): Use __internal_setActiveInProgress to prevent navigationshttps://github.com/clerk/javascript/pull/5515/commits/97a0a0b316e9f9419cd9f3af5a15e44c12e141b3
97a0a0bhttps://github.com/clerk/javascript/pull/5515/commits/97a0a0b316e9f9419cd9f3af5a15e44c12e141b3
https://github.com/dstaley
fix(clerk-js): Use ssoCallbackUrl if present in contexthttps://github.com/clerk/javascript/pull/5515/commits/319465e5d576ad75b5c4197b721a2d16752861b7
319465ehttps://github.com/clerk/javascript/pull/5515/commits/319465e5d576ad75b5c4197b721a2d16752861b7
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Apr 2, 2025https://github.com/clerk/javascript/pull/5515#issuecomment-2773356260
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
e03f9a2https://github.com/clerk/javascript/commit/e03f9a2ce76f0032d62dc915f26a34e17ed12239
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/ds.fix/setactive-in-progress?filename=.changeset/orange-kiwis-work.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A%22%40clerk%2Fclerk-react%22%3A%20patch%0A%22%40clerk%2Ftypes%22%3A%20patch%0A---%0A%0Afix(clerk-js)%3A%20Use%20__internal_setActiveInProgress%20to%20prevent%20navigations%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Apr 2, 2025https://github.com/clerk/javascript/pull/5515#issuecomment-2773356267
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/6NW4aPbNVkUaqHfKYgx8hu81uzYM
Visit Previewhttps://clerk-js-sandbox-git-dsfix-setactive-in-progress.clerkstage.dev
Add feedbackhttps://vercel.live/open-feedback/clerk-js-sandbox-git-dsfix-setactive-in-progress.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
types https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atypes
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Apr 2, 2025https://github.com/clerk/javascript/pull/5515#event-17098909896
https://github.com/dstaley
fix(react): Add __internal_setActiveInProgress to list of excludedhttps://github.com/clerk/javascript/pull/5515/commits/f07bdeb0f9b4bfa4a93da92d8148dcee74803c81
f07bdebhttps://github.com/clerk/javascript/pull/5515/commits/f07bdeb0f9b4bfa4a93da92d8148dcee74803c81
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
react https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact
Apr 2, 2025https://github.com/clerk/javascript/pull/5515#event-17099327499
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-ewtdp21de.clerkstage.dev
Previewhttps://clerk-js-sandbox-ewtdp21de.clerkstage.dev
April 2, 2025 18:52https://github.com/clerk/javascript/pull/5515#event-17099334536
View deploymenthttps://clerk-js-sandbox-ewtdp21de.clerkstage.dev
https://github.com/dstaley
fix(clerk-js): Bump bundle size limithttps://github.com/clerk/javascript/pull/5515/commits/230c91e3af749003297fb34daa347bf24671b717
230c91ehttps://github.com/clerk/javascript/pull/5515/commits/230c91e3af749003297fb34daa347bf24671b717
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-gqxmjtneq.clerkstage.dev
Previewhttps://clerk-js-sandbox-gqxmjtneq.clerkstage.dev
April 2, 2025 19:07https://github.com/clerk/javascript/pull/5515#event-17099530521
View deploymenthttps://clerk-js-sandbox-gqxmjtneq.clerkstage.dev
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Copilothttps://github.com/apps/copilot-pull-request-reviewer
April 2, 2025 19:25https://github.com/clerk/javascript/pull/5515#event-17099769245
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Apr 2, 2025 https://github.com/clerk/javascript/pull/5515#ref-pullrequest-2950583516
fix(clerk-js): Use ssoCallbackUrl if present in context #5460 https://github.com/clerk/javascript/pull/5460
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 2, 2025 https://github.com/clerk/javascript/pull/5515#pullrequestreview-2737345124
View reviewed changes https://github.com/clerk/javascript/pull/5515/files/230c91e3af749003297fb34daa347bf24671b717
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/clerk/javascript/pull/5515#pullrequestreview-2737345124
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
packages/types/src/clerk.tshttps://github.com/clerk/javascript/pull/5515/files/230c91e3af749003297fb34daa347bf24671b717#diff-7fe408fe0aa07864e0cb473677db03dee709c0c571cbfc856088e13b0d610d25
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
https://github.com/dstaley
https://github.com/apps/copilot-pull-request-reviewer
fix(clerk-js): typohttps://github.com/clerk/javascript/pull/5515/commits/92cf50cd9c49c9e4eaebc074491722d0627c7a99
92cf50chttps://github.com/clerk/javascript/pull/5515/commits/92cf50cd9c49c9e4eaebc074491722d0627c7a99
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-8de7ocvsk.clerkstage.dev
Previewhttps://clerk-js-sandbox-8de7ocvsk.clerkstage.dev
April 2, 2025 19:45https://github.com/clerk/javascript/pull/5515#event-17100076911
View deploymenthttps://clerk-js-sandbox-8de7ocvsk.clerkstage.dev
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Apr 3, 2025 https://github.com/clerk/javascript/pull/5515#pullrequestreview-2738257158
View reviewed changes https://github.com/clerk/javascript/pull/5515/files/92cf50cd9c49c9e4eaebc074491722d0627c7a99
brkalowhttps://github.com/brkalow
https://github.com/clerk/javascript/pull/5515#pullrequestreview-2738257158
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
packages/clerk-js/src/ui/common/SSOCallback.tsxhttps://github.com/clerk/javascript/pull/5515/files/92cf50cd9c49c9e4eaebc074491722d0627c7a99#diff-88d9eb5148925c6f4d09b68b290193325da81604d6cc5558354c17fed15d83b2
brkalowhttps://github.com/brkalow
Apr 3, 2025https://github.com/clerk/javascript/pull/5515#discussion_r2025999870
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
dstaleyhttps://github.com/dstaley
Apr 3, 2025https://github.com/clerk/javascript/pull/5515#discussion_r2027372591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
packages/clerk-js/src/ui/common/redirects.tshttps://github.com/clerk/javascript/pull/5515/files/92cf50cd9c49c9e4eaebc074491722d0627c7a99#diff-cb114c6e7fd519ff33e72e40a60bc606a7c8aded5dc471214e43b116f7115a33
brkalowhttps://github.com/brkalow
Apr 3, 2025https://github.com/clerk/javascript/pull/5515#discussion_r2026000766
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
https://github.com/dstaley
Merge branch 'main' into ds.fix/setactive-in-progresshttps://github.com/clerk/javascript/pull/5515/commits/e03f9a2ce76f0032d62dc915f26a34e17ed12239
e03f9a2https://github.com/clerk/javascript/pull/5515/commits/e03f9a2ce76f0032d62dc915f26a34e17ed12239
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
April 3, 2025 17:14https://github.com/clerk/javascript/pull/5515#event-17117774557
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-78zs604en.clerkstage.dev
Previewhttps://clerk-js-sandbox-78zs604en.clerkstage.dev
April 3, 2025 17:14https://github.com/clerk/javascript/pull/5515#event-17117784464
View deploymenthttps://clerk-js-sandbox-78zs604en.clerkstage.dev
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
e1ec52bhttps://github.com/clerk/javascript/commit/e1ec52b93038c9cb24e030dc06e53825a384a480
Apr 3, 2025https://github.com/clerk/javascript/pull/5515#event-17117887189
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
April 3, 2025 17:23https://github.com/clerk/javascript/pull/5515#event-17117887339
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Apr 3, 2025 https://github.com/clerk/javascript/pull/5515#ref-pullrequest-2970246313
ci(repo): Version packages #5524 https://github.com/clerk/javascript/pull/5524
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 10, 2026 https://github.com/clerk/javascript/pull/5515#ref-pullrequest-5109616474
fix(dashboard): auto-activate Default Organization for empty project list duyet/agentstate#400 https://github.com/duyet/agentstate/pull/400
Deployedhttps://clerk-js-sandbox-78zs604en.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-78zs604en.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%2F5515
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/clerk/javascript/pull/5515/files/230c91e3af749003297fb34daa347bf24671b717
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/5515/files/92cf50cd9c49c9e4eaebc074491722d0627c7a99
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
react https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact
types https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atypes
Please reload this pagehttps://github.com/clerk/javascript/pull/5515
https://github.com/dstaley
https://github.com/brkalow
https://github.com/apps/copilot-pull-request-reviewer
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.