René's URL Explorer Experiment


Title: fix(clerk-react): Initialize isomorphic clerk with `useRef` by panteliselef · Pull Request #6024 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-react): Initialize isomorphic clerk with `useRef` by panteliselef · Pull Request #6024 · clerk/javascript

X Title: fix(clerk-react): Initialize isomorphic clerk with `useRef` by panteliselef · Pull Request #6024 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(clerk-react): Initialize isomorphic clerk with `useRef` by panteliselef · Pull Request #6024 · clerk/javascript

Open Graph Description: Description Avoid memoizing the singleton, instead use a reference to store it, and then destroy it. If logs are added when creating/getting the singleton and when clearing it, in the previous impl...

X Description: Description Avoid memoizing the singleton, instead use a reference to store it, and then destroy it. If logs are added when creating/getting the singleton and when clearing it, in the previous impl...

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

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:0b2a6b78-096c-05bb-0868-591d6aed2d80
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90C0:1C2759:4B23C:6DFF7:6AFACE0C
html-safe-nonce1de2bf7b5e720638a8d04a9e16519020d090d628f6e049ec2aecacabe98e34d7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEMwOjFDMjc1OTo0QjIzQzo2REZGNzo2QUZBQ0UwQyIsInZpc2l0b3JfaWQiOiIxNTM4ODkyNjI5NDAyMTExNTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac918f0d64f136f823c40931b15f2b7ff49b72322c6e3a165823bca87be43f8ae9
hovercard-subject-tagpull_request:2550453889
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/6024/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5f6bda0c3df33949a3177c43a979ba6ecd27da2d92a17714b880ce4b5143afb8/clerk/javascript/pull/6024
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f6bda0c3df33949a3177c43a979ba6ecd27da2d92a17714b880ce4b5143afb8/clerk/javascript/pull/6024
og:image:altDescription Avoid memoizing the singleton, instead use a reference to store it, and then destroy it. If logs are added when creating/getting the singleton and when clearing it, in the previous impl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepanteliselef
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
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
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/6024#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F6024
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%2F6024
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/6024
Reloadhttps://github.com/clerk/javascript/pull/6024
Reloadhttps://github.com/clerk/javascript/pull/6024
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/sdk-2126-userbutton-shows-fallback-indefinitely-when-remounted-acrosshttps://github.com/clerk/javascript/tree/elef/sdk-2126-userbutton-shows-fallback-indefinitely-when-remounted-across
Conversationhttps://github.com/clerk/javascript/pull/6024
Commits4 (4)https://github.com/clerk/javascript/pull/6024/commits
Checkshttps://github.com/clerk/javascript/pull/6024/checks
Files changedhttps://github.com/clerk/javascript/pull/6024/files
fix(clerk-react): Initialize isomorphic clerk with useRefhttps://github.com/clerk/javascript/pull/6024#top
panteliselefhttps://github.com/panteliselef
mainhttps://github.com/clerk/javascript/tree/main
elef/sdk-2126-userbutton-shows-fallback-indefinitely-when-remounted-acrosshttps://github.com/clerk/javascript/tree/elef/sdk-2126-userbutton-shows-fallback-indefinitely-when-remounted-across
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
May 28, 2025https://github.com/clerk/javascript/pull/6024#issue-3098380663
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
DSH PRhttps://github.com/clerk/dashboard/pull/5615
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/panteliselef
fix(clerk-react): Initialize isomorphic clerk with useRefhttps://github.com/clerk/javascript/pull/6024/commits/660c5e8f47928c6e16491d3517bb1d8deba8f698
660c5e8https://github.com/clerk/javascript/pull/6024/commits/660c5e8f47928c6e16491d3517bb1d8deba8f698
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Ephemhttps://github.com/Ephem
May 28, 2025 19:40https://github.com/clerk/javascript/pull/6024#event-17857025176
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
May 28, 2025https://github.com/clerk/javascript/pull/6024#event-17857025261
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
May 28, 2025https://github.com/clerk/javascript/pull/6024#issuecomment-2917417902
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
5b87669https://github.com/clerk/javascript/commit/5b87669b18b921c35b0fa0fff5c991c07b924969
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/sdk-2126-userbutton-shows-fallback-indefinitely-when-remounted-across?filename=.changeset/few-bats-peel.md&value=---%0A%22%40clerk%2Fclerk-react%22%3A%20patch%0A---%0A%0Afix(clerk-react)%3A%20Initialize%20isomorphic%20clerk%20with%20%60useRef%60%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
May 28, 2025https://github.com/clerk/javascript/pull/6024#issuecomment-2917417942
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/2xyX4QA95LaPBsV3bxAxeCux95aL
Visit Previewhttps://clerk-js-sandbox-git-elef-sdk-2126-userbutton-shows-fall-fae847.clerkstage.dev
Add feedbackhttps://vercel.live/open-feedback/clerk-js-sandbox-git-elef-sdk-2126-userbutton-shows-fall-fae847.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
May 28, 2025https://github.com/clerk/javascript/pull/6024#issuecomment-2917418005
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
react https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact
May 28, 2025https://github.com/clerk/javascript/pull/6024#event-17857030461
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-mc7nnhfcp.clerkstage.dev
Previewhttps://clerk-js-sandbox-mc7nnhfcp.clerkstage.dev
May 28, 2025 19:41https://github.com/clerk/javascript/pull/6024#event-17857035476
View deploymenthttps://clerk-js-sandbox-mc7nnhfcp.clerkstage.dev
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
May 28, 2025https://github.com/clerk/javascript/pull/6024#issuecomment-2917428136
@panteliselefhttps://github.com/panteliselef
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
May 28, 2025https://github.com/clerk/javascript/pull/6024#issuecomment-2917429688
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
Open in StackBlitzhttps://pkg.pr.new/template/10c390a1-c8ff-446f-88e4-fdc165d410c7
5b87669https://github.com/clerk/javascript/runs/43123932490
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/panteliselef
commentshttps://github.com/clerk/javascript/pull/6024/commits/5821b51dbba9b9299904973e03b944839ee852f8
5821b51https://github.com/clerk/javascript/pull/6024/commits/5821b51dbba9b9299904973e03b944839ee852f8
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-1dzuac8qe.clerkstage.dev
Previewhttps://clerk-js-sandbox-1dzuac8qe.clerkstage.dev
May 28, 2025 21:22https://github.com/clerk/javascript/pull/6024#event-17858265692
View deploymenthttps://clerk-js-sandbox-1dzuac8qe.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-3h6zw7k6h.clerkstage.dev
Previewhttps://clerk-js-sandbox-3h6zw7k6h.clerkstage.dev
May 28, 2025 21:36https://github.com/clerk/javascript/pull/6024#event-17858408447
View deploymenthttps://clerk-js-sandbox-3h6zw7k6h.clerkstage.dev
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
force-pushedhttps://github.com/clerk/javascript/compare/3546de134042ee20352db9109cf1dff7dd7e0e06..5821b51dbba9b9299904973e03b944839ee852f8
3546de1https://github.com/clerk/javascript/commit/3546de134042ee20352db9109cf1dff7dd7e0e06
5821b51https://github.com/clerk/javascript/commit/5821b51dbba9b9299904973e03b944839ee852f8
Compare https://github.com/clerk/javascript/compare/3546de134042ee20352db9109cf1dff7dd7e0e06..5821b51dbba9b9299904973e03b944839ee852f8
May 28, 2025 21:43https://github.com/clerk/javascript/pull/6024#event-17858477623
https://github.com/tmilewski
tmilewskihttps://github.com/tmilewski
May 29, 2025 https://github.com/clerk/javascript/pull/6024#pullrequestreview-2878498271
View reviewed changes https://github.com/clerk/javascript/pull/6024/files/5821b51dbba9b9299904973e03b944839ee852f8
tmilewskihttps://github.com/tmilewski
https://github.com/clerk/javascript/pull/6024#pullrequestreview-2878498271
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
packages/react/src/isomorphicClerk.tshttps://github.com/clerk/javascript/pull/6024/files/5821b51dbba9b9299904973e03b944839ee852f8#diff-241f74befb6848af5fb3799a6ad6c08c9a845332a9ed99f3a51690a6b5eccf12
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
packages/react/src/isomorphicClerk.tshttps://github.com/clerk/javascript/pull/6024/files/5821b51dbba9b9299904973e03b944839ee852f8#diff-241f74befb6848af5fb3799a6ad6c08c9a845332a9ed99f3a51690a6b5eccf12
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
packages/react/src/components/uiComponents.tsxhttps://github.com/clerk/javascript/pull/6024/files/5821b51dbba9b9299904973e03b944839ee852f8#diff-a8191137a37ce939d93a3fef2f42cc5beb1ee0a23a79fdff21ccc25bf2223b5a
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
panteliselefhttps://github.com/panteliselef
May 29, 2025 11:03https://github.com/clerk/javascript/pull/6024#commits-pushed-f19446d
https://github.com/panteliselef
Revert "comments"https://github.com/clerk/javascript/pull/6024/commits/f19446dab6b88ae5377833725bc6bc40ed38b615
f19446dhttps://github.com/clerk/javascript/pull/6024/commits/f19446dab6b88ae5377833725bc6bc40ed38b615
5821b51https://github.com/clerk/javascript/commit/5821b51dbba9b9299904973e03b944839ee852f8
https://github.com/panteliselef
Merge branch 'main' into elef/sdk-2126-userbutton-shows-fallback-inde…https://github.com/clerk/javascript/pull/6024/commits/5b87669b18b921c35b0fa0fff5c991c07b924969
5b87669https://github.com/clerk/javascript/pull/6024/commits/5b87669b18b921c35b0fa0fff5c991c07b924969
https://github.com/tmilewski
tmilewskihttps://github.com/tmilewski
May 29, 2025 https://github.com/clerk/javascript/pull/6024#pullrequestreview-2878621782
View reviewed changes https://github.com/clerk/javascript/pull/6024/files/5b87669b18b921c35b0fa0fff5c991c07b924969
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-kmnpro7f9.clerkstage.dev
Previewhttps://clerk-js-sandbox-kmnpro7f9.clerkstage.dev
May 29, 2025 15:05https://github.com/clerk/javascript/pull/6024#event-17870170207
View deploymenthttps://clerk-js-sandbox-kmnpro7f9.clerkstage.dev
https://github.com/brkalow
brkalowhttps://github.com/brkalow
May 29, 2025 https://github.com/clerk/javascript/pull/6024#pullrequestreview-2879180857
View reviewed changes https://github.com/clerk/javascript/pull/6024/files/5b87669b18b921c35b0fa0fff5c991c07b924969
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
a3232c7https://github.com/clerk/javascript/commit/a3232c7ee8c1173d2ce70f8252fc083c7bf19374
May 29, 2025https://github.com/clerk/javascript/pull/6024#event-17873986332
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
May 29, 2025 19:22https://github.com/clerk/javascript/pull/6024#event-17873986705
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
May 29, 2025 https://github.com/clerk/javascript/pull/6024#ref-pullrequest-3101281915
ci(repo): Version packages #6031 https://github.com/clerk/javascript/pull/6031
Deployedhttps://clerk-js-sandbox-kmnpro7f9.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-kmnpro7f9.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%2F6024
https://github.com/tmilewski
tmilewski https://github.com/tmilewski
https://github.com/clerk/javascript/pull/6024/files/5b87669b18b921c35b0fa0fff5c991c07b924969
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/6024/files/5b87669b18b921c35b0fa0fff5c991c07b924969
https://github.com/Ephem
Ephem https://github.com/Ephem
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
react https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact
Please reload this pagehttps://github.com/clerk/javascript/pull/6024
https://github.com/panteliselef
https://github.com/clerk-cookie
https://github.com/tmilewski
https://github.com/brkalow
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.