René's URL Explorer Experiment


Title: fix(clerk-js): Add optional `resourceId` to `useFetch` hook by aeliox · Pull Request #5536 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-js): Add optional `resourceId` to `useFetch` hook by aeliox · Pull Request #5536 · clerk/javascript

X Title: fix(clerk-js): Add optional `resourceId` to `useFetch` hook by aeliox · Pull Request #5536 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(clerk-js): Add optional `resourceId` to `useFetch` hook by aeliox · Pull Request #5536 · clerk/javascript

Open Graph Description: Currently, useFetch caches data using only a string-ified version of the params as a key, which very easily leads to cache collisions. This adds an optional resourceId param that is used in conjunc...

X Description: Currently, useFetch caches data using only a string-ified version of the params as a key, which very easily leads to cache collisions. This adds an optional resourceId param that is used in conjunc...

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

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:3e8ceae6-de24-fb98-16ee-a966c1ea4025
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA48:2781FE:371CF0:4D5271:6AFB5799
html-safe-nonced9ea04ee1750eeab66e3660b2a6f4e8f8cb0deb6902780a2187ade7e590e6f77
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTQ4OjI3ODFGRTozNzFDRjA6NEQ1MjcxOjZBRkI1Nzk5IiwidmlzaXRvcl9pZCI6IjEyMzM4NzQxMzIzMjg0NzA0MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacda9fb2f9f71ec9e3b544022b245a7336bf4fc7819fed7c14d83fad5dfdb20296
hovercard-subject-tagpull_request:2440518381
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/5536/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/683781fa9ceacd54db522bae47460476ac10e207c647436f2c37629d39de254d/clerk/javascript/pull/5536
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/683781fa9ceacd54db522bae47460476ac10e207c647436f2c37629d39de254d/clerk/javascript/pull/5536
og:image:altCurrently, useFetch caches data using only a string-ified version of the params as a key, which very easily leads to cache collisions. This adds an optional resourceId param that is used in conjunc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaeliox
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
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
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/5536#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5536
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%2F5536
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/5536
Reloadhttps://github.com/clerk/javascript/pull/5536
Reloadhttps://github.com/clerk/javascript/pull/5536
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues45 (45)https://github.com/clerk/javascript/issues
Pull requests115 (115)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
aelioxhttps://github.com/aeliox
mainhttps://github.com/clerk/javascript/tree/main
keiran/useFetch-cache-keyhttps://github.com/clerk/javascript/tree/keiran/useFetch-cache-key
Conversationhttps://github.com/clerk/javascript/pull/5536
Commits2 (2)https://github.com/clerk/javascript/pull/5536/commits
Checkshttps://github.com/clerk/javascript/pull/5536/checks
Files changedhttps://github.com/clerk/javascript/pull/5536/files
fix(clerk-js): Add optional resourceId to useFetch hookhttps://github.com/clerk/javascript/pull/5536#top
aelioxhttps://github.com/aeliox
mainhttps://github.com/clerk/javascript/tree/main
keiran/useFetch-cache-keyhttps://github.com/clerk/javascript/tree/keiran/useFetch-cache-key
https://github.com/aeliox
aelioxhttps://github.com/aeliox
Apr 4, 2025https://github.com/clerk/javascript/pull/5536#issue-2973476725
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
https://github.com/aeliox
fix(clerk-js): Add optional resourceId to useFetch hook to avoid …https://github.com/clerk/javascript/pull/5536/commits/9c67e5dd0d084aa5b01172546e3f7df82ef713eb
9c67e5dhttps://github.com/clerk/javascript/pull/5536/commits/9c67e5dd0d084aa5b01172546e3f7df82ef713eb
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Apr 4, 2025https://github.com/clerk/javascript/pull/5536#issuecomment-2779826026
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
746df0fhttps://github.com/clerk/javascript/commit/746df0f9526d5263b885522dbc3a3ebf75f98895
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/keiran/useFetch-cache-key?filename=.changeset/wise-apples-rush.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0Afix(clerk-js)%3A%20Add%20optional%20%60resourceId%60%20to%20%60useFetch%60%20hook%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Apr 4, 2025https://github.com/clerk/javascript/pull/5536#issuecomment-2779826029
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/9mimTkxHfht91RqJzRs3GkWU9c9G
Visit Previewhttps://clerk-js-sandbox-git-keiran-usefetch-cache-key.clerkstage.dev
Add feedbackhttps://vercel.live/open-feedback/clerk-js-sandbox-git-keiran-usefetch-cache-key.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
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
Apr 4, 2025https://github.com/clerk/javascript/pull/5536#event-17136492238
https://github.com/aeliox
add changesethttps://github.com/clerk/javascript/pull/5536/commits/746df0f9526d5263b885522dbc3a3ebf75f98895
746df0fhttps://github.com/clerk/javascript/pull/5536/commits/746df0f9526d5263b885522dbc3a3ebf75f98895
https://github.com/aeliox
aelioxhttps://github.com/aeliox
brkalowhttps://github.com/brkalow
April 4, 2025 22:34https://github.com/clerk/javascript/pull/5536#event-17136537449
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-qdh1raimz.clerkstage.dev
Previewhttps://clerk-js-sandbox-qdh1raimz.clerkstage.dev
April 4, 2025 22:34https://github.com/clerk/javascript/pull/5536#event-17136545426
View deploymenthttps://clerk-js-sandbox-qdh1raimz.clerkstage.dev
https://github.com/alexcarpenter
alexcarpenterhttps://github.com/alexcarpenter
Apr 4, 2025 https://github.com/clerk/javascript/pull/5536#pullrequestreview-2744218832
View reviewed changes https://github.com/clerk/javascript/pull/5536/files/746df0f9526d5263b885522dbc3a3ebf75f98895
https://github.com/aeliox
aelioxhttps://github.com/aeliox
936d223https://github.com/clerk/javascript/commit/936d22380ad357d0767262c7758c992d289dc58d
Apr 4, 2025https://github.com/clerk/javascript/pull/5536#event-17136682787
https://github.com/aeliox
aelioxhttps://github.com/aeliox
April 4, 2025 22:52https://github.com/clerk/javascript/pull/5536#event-17136682934
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Apr 4, 2025 https://github.com/clerk/javascript/pull/5536#ref-pullrequest-2970246313
ci(repo): Version packages #5524 https://github.com/clerk/javascript/pull/5524
Deployedhttps://clerk-js-sandbox-qdh1raimz.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-qdh1raimz.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%2F5536
https://github.com/alexcarpenter
alexcarpenter https://github.com/alexcarpenter
https://github.com/clerk/javascript/pull/5536/files/746df0f9526d5263b885522dbc3a3ebf75f98895
https://github.com/brkalow
brkalow https://github.com/brkalow
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Please reload this pagehttps://github.com/clerk/javascript/pull/5536
https://github.com/aeliox
https://github.com/alexcarpenter
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.