René's URL Explorer Experiment


Title: fix(clerk-react): Prevent `UserProfileModal` re-render in `` with custom props by nikospapcom · Pull Request #5145 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-react): Prevent `UserProfileModal` re-render in `` with custom props by nikospapcom · Pull Request #5145 · clerk/javascript

X Title: fix(clerk-react): Prevent `UserProfileModal` re-render in `` with custom props by nikospapcom · Pull Request #5145 · clerk/javascript

Description: Description Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation has been updated Type of change 🐛 Bug fix 🌟 New feature 🔨 Breaking change 📖 Refactoring / dependency upgrade / documentation other:

Open Graph Description: Description Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation...

X Description: Description Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3a816292-fc55-08cf-dfeb-33e3920c1ade
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC8E:3C556:121F01B:18CAD04:6AFB6BFE
html-safe-nonce62822a670cd6b2d7f5bb16c7d3d2527c15fd6019eca5f8b0a2fcc24ca864683c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzhFOjNDNTU2OjEyMUYwMUI6MThDQUQwNDo2QUZCNkJGRSIsInZpc2l0b3JfaWQiOiIyMzUxODM0Nzc0OTQ0NTc0NDYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac84c1ba01b7fb1b1a8bb5fab1c409c36ce7336caf38f32bb3c487df6bbcef9f60
hovercard-subject-tagpull_request:2333608772
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/clerk/javascript/pull/5145/files
twitter:imagehttps://avatars.githubusercontent.com/u/14893769?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/14893769?s=400&v=4
og:image:altDescription Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/5145/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5145%2Ffiles
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%2F5145%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/5145/files
Reloadhttps://github.com/clerk/javascript/pull/5145/files
Reloadhttps://github.com/clerk/javascript/pull/5145/files
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues45 (45)https://github.com/clerk/javascript/issues
Pull requests109 (109)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
Sign up for GitHub https://github.com/signup?return_to=%2Fclerk%2Fjavascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fclerk%2Fjavascript%2Fissues%2Fnew%2Fchoose
nikospapcomhttps://github.com/nikospapcom
mainhttps://github.com/clerk/javascript/tree/main
nikospap/fix-user-profile-re-render-with-custom-menu-items-and-custom-userProfilePropshttps://github.com/clerk/javascript/tree/nikospap/fix-user-profile-re-render-with-custom-menu-items-and-custom-userProfileProps
Conversation 8 https://github.com/clerk/javascript/pull/5145
Commits 1 https://github.com/clerk/javascript/pull/5145/commits
Checks 0 https://github.com/clerk/javascript/pull/5145/checks
Files changed https://github.com/clerk/javascript/pull/5145/files
Please reload this pagehttps://github.com/clerk/javascript/pull/5145/files
fix(clerk-react): Prevent UserProfileModal re-render in with custom props https://github.com/clerk/javascript/pull/5145/files#top
Show all changes 1 commit https://github.com/clerk/javascript/pull/5145/files
af85574 fix(clerk-react): Avoid re-render UserProfile when we pass `userProfi… nikospapcom Feb 17, 2025 https://github.com/clerk/javascript/pull/5145/commits/af855748eb3ad7df81227d06dd1f51194750755c
Clear filters https://github.com/clerk/javascript/pull/5145/files
Please reload this pagehttps://github.com/clerk/javascript/pull/5145/files
Please reload this pagehttps://github.com/clerk/javascript/pull/5145/files
sharp-owls-live.md https://github.com/clerk/javascript/pull/5145/files#diff-ca8fabf75519cf5c490cfede78e255711c0331fe4698c90af2d1b034fea66625
with-dynamic-label-and-custom-pages.tsx https://github.com/clerk/javascript/pull/5145/files#diff-7a8e45b5398c0e3651688377434e51fc51c1be6f6463844ec89a206511dfa305
with-dynamic-labels.tsx https://github.com/clerk/javascript/pull/5145/files#diff-be9b68f75550913306f39913c24bee59914a7fe53f2df0f1703e0cd1e366b731
main.tsx https://github.com/clerk/javascript/pull/5145/files#diff-115ae9bde96ddcb1bbec5f09c5c977863f59e3274f35c0f08b667b8166dae415
custom-pages.test.ts https://github.com/clerk/javascript/pull/5145/files#diff-8de069903ccd33e51a59609f684de239c92ac726ee74429d389088d98ff3e28c
ClerkHostRenderer.tsx https://github.com/clerk/javascript/pull/5145/files#diff-c98c87fc014a7e9cfcfbf7dd2e265ae4fb372637f1b64d7159b20d38d1847706
.changeset/sharp-owls-live.mdhttps://github.com/clerk/javascript/pull/5145/files#diff-ca8fabf75519cf5c490cfede78e255711c0331fe4698c90af2d1b034fea66625
View file https://github.com/clerk/javascript/blob/af855748eb3ad7df81227d06dd1f51194750755c/.changeset/sharp-owls-live.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/5145/{{ revealButtonHref }}
...ation/templates/react-vite/src/custom-user-button/with-dynamic-label-and-custom-pages.tsxhttps://github.com/clerk/javascript/pull/5145/files#diff-7a8e45b5398c0e3651688377434e51fc51c1be6f6463844ec89a206511dfa305
View file https://github.com/clerk/javascript/blob/af855748eb3ad7df81227d06dd1f51194750755c/integration/templates/react-vite/src/custom-user-button/with-dynamic-label-and-custom-pages.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/5145/{{ revealButtonHref }}
integration/templates/react-vite/src/custom-user-button/with-dynamic-labels.tsxhttps://github.com/clerk/javascript/pull/5145/files#diff-be9b68f75550913306f39913c24bee59914a7fe53f2df0f1703e0cd1e366b731
View file https://github.com/clerk/javascript/blob/af855748eb3ad7df81227d06dd1f51194750755c/integration/templates/react-vite/src/custom-user-button/with-dynamic-labels.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/5145/{{ revealButtonHref }}
https://github.com/clerk/javascript/pull/5145/files#diff-be9b68f75550913306f39913c24bee59914a7fe53f2df0f1703e0cd1e366b731
integration/templates/react-vite/src/main.tsxhttps://github.com/clerk/javascript/pull/5145/files#diff-115ae9bde96ddcb1bbec5f09c5c977863f59e3274f35c0f08b667b8166dae415
View file https://github.com/clerk/javascript/blob/af855748eb3ad7df81227d06dd1f51194750755c/integration/templates/react-vite/src/main.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/5145/{{ revealButtonHref }}
https://github.com/clerk/javascript/pull/5145/files#diff-115ae9bde96ddcb1bbec5f09c5c977863f59e3274f35c0f08b667b8166dae415
https://github.com/clerk/javascript/pull/5145/files#diff-115ae9bde96ddcb1bbec5f09c5c977863f59e3274f35c0f08b667b8166dae415
https://github.com/clerk/javascript/pull/5145/files#diff-115ae9bde96ddcb1bbec5f09c5c977863f59e3274f35c0f08b667b8166dae415
https://github.com/clerk/javascript/pull/5145/files#diff-115ae9bde96ddcb1bbec5f09c5c977863f59e3274f35c0f08b667b8166dae415
integration/tests/custom-pages.test.tshttps://github.com/clerk/javascript/pull/5145/files#diff-8de069903ccd33e51a59609f684de239c92ac726ee74429d389088d98ff3e28c
View file https://github.com/clerk/javascript/blob/af855748eb3ad7df81227d06dd1f51194750755c/integration/tests/custom-pages.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/5145/{{ revealButtonHref }}
https://github.com/clerk/javascript/pull/5145/files#diff-8de069903ccd33e51a59609f684de239c92ac726ee74429d389088d98ff3e28c
https://github.com/clerk/javascript/pull/5145/files#diff-8de069903ccd33e51a59609f684de239c92ac726ee74429d389088d98ff3e28c
https://github.com/clerk/javascript/pull/5145/files#diff-8de069903ccd33e51a59609f684de239c92ac726ee74429d389088d98ff3e28c
packages/react/src/components/ClerkHostRenderer.tsxhttps://github.com/clerk/javascript/pull/5145/files#diff-c98c87fc014a7e9cfcfbf7dd2e265ae4fb372637f1b64d7159b20d38d1847706
View file https://github.com/clerk/javascript/blob/af855748eb3ad7df81227d06dd1f51194750755c/packages/react/src/components/ClerkHostRenderer.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/5145/{{ revealButtonHref }}
https://github.com/clerk/javascript/pull/5145/files#diff-c98c87fc014a7e9cfcfbf7dd2e265ae4fb372637f1b64d7159b20d38d1847706
https://github.com/clerk/javascript/pull/5145/files#diff-c98c87fc014a7e9cfcfbf7dd2e265ae4fb372637f1b64d7159b20d38d1847706
https://github.com/clerk/javascript/pull/5145/files#diff-c98c87fc014a7e9cfcfbf7dd2e265ae4fb372637f1b64d7159b20d38d1847706
https://github.com/clerk/javascript/pull/5145/files#diff-c98c87fc014a7e9cfcfbf7dd2e265ae4fb372637f1b64d7159b20d38d1847706
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.