| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f453c6bc-2d02-5b79-8371-c13c34c2de94 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7C2:C87FB:2F48387:3FF9C33:6AFAD211 |
| html-safe-nonce | 41630fbe21e5d8397931f2388ed779304bb71af4e187ba82ee6c0db8013a5a87 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0MyOkM4N0ZCOjJGNDgzODc6M0ZGOUMzMzo2QUZBRDIxMSIsInZpc2l0b3JfaWQiOiI2OTUxNzA2MjIzMTAzODg5OTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 63cb57181aa6371ebf521570ed1f700994acc85e0daad17b7b97dfac1d89eb07 |
| hovercard-subject-tag | pull_request:2034195208 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/4010/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/dcb16c75560a6d7651c4c40ae3ac7f3e4d03eefa5467260a8f3b6601b605c6fc/clerk/javascript/pull/4010 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dcb16c75560a6d7651c4c40ae3ac7f3e4d03eefa5467260a8f3b6601b605c6fc/clerk/javascript/pull/4010 |
| og:image:alt | Description
This PR adds support for multiple addListener method calls without having to wait for Clerk to be loaded.
Closes SDK-1552
Checklist
npm test runs as expected.
npm run build runs as e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wobsoriano |
| hostname | github.com |
| expected-hostname | github.com |
| None | aa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be9dc02df8087c7449fb60a416e138c34108ed94 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/4010#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F4010 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F4010 |
| Sign up | https://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 |
| Reload | https://github.com/clerk/javascript/pull/4010 |
| Reload | https://github.com/clerk/javascript/pull/4010 |
| Reload | https://github.com/clerk/javascript/pull/4010 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| wobsoriano | https://github.com/wobsoriano |
| main | https://github.com/clerk/javascript/tree/main |
| rob/sdk-1552-bug-addlistener-callback-is-not-called-if-the-listener-is | https://github.com/clerk/javascript/tree/rob/sdk-1552-bug-addlistener-callback-is-not-called-if-the-listener-is |
| Conversation | https://github.com/clerk/javascript/pull/4010 |
| Commits5 (5) | https://github.com/clerk/javascript/pull/4010/commits |
| Checks | https://github.com/clerk/javascript/pull/4010/checks |
| Files changed | https://github.com/clerk/javascript/pull/4010/files |
| fix(clerk-react): Handle multiple addListener calls | https://github.com/clerk/javascript/pull/4010#top |
| wobsoriano | https://github.com/wobsoriano |
| main | https://github.com/clerk/javascript/tree/main |
| rob/sdk-1552-bug-addlistener-callback-is-not-called-if-the-listener-is | https://github.com/clerk/javascript/tree/rob/sdk-1552-bug-addlistener-callback-is-not-called-if-the-listener-is |
|
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| Aug 23, 2024 | https://github.com/clerk/javascript/pull/4010#issue-2483152380 |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
| JSDoc comments | https://jsdoc.app/about-getting-started.html |
| Documentation | https://github.com/clerk/clerk-docs |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Aug 23, 2024 | https://github.com/clerk/javascript/pull/4010#issuecomment-2307094249 |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
| 4eaddcf | https://github.com/clerk/javascript/commit/4eaddcfdf822af7e5abfb6dab4155900ada4ae1f |
| Click here to learn what changesets are | https://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 PR | https://github.com/clerk/javascript/new/rob/sdk-1552-bug-addlistener-callback-is-not-called-if-the-listener-is?filename=.changeset/five-lions-hope.md&value=---%0A%22%40clerk%2Fclerk-react%22%3A%20patch%0A---%0A%0Afix(clerk-react)%3A%20Handle%20multiple%20%60addListener%60%20calls%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
react
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact |
| Aug 23, 2024 | https://github.com/clerk/javascript/pull/4010#event-13993314629 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| Aug 23, 2024 | https://github.com/clerk/javascript/pull/4010#event-13993370516 |
| wobsoriano | https://github.com/wobsoriano |
| August 23, 2024 06:32 | https://github.com/clerk/javascript/pull/4010#commits-pushed-e7397da |
|
| https://github.com/wobsoriano |
| fix(clerk-react): Handle multiple addListener calls | https://github.com/clerk/javascript/pull/4010/commits/e7397dacf10e866211b121a84ad2fca74699e19f |
| e7397da | https://github.com/clerk/javascript/pull/4010/commits/e7397dacf10e866211b121a84ad2fca74699e19f |
|
| https://github.com/wobsoriano |
| fix(clerk-react): Revert removed method | https://github.com/clerk/javascript/pull/4010/commits/7bc89f9cbca2b8feab3259893576cdf814827906 |
| 7bc89f9 | https://github.com/clerk/javascript/pull/4010/commits/7bc89f9cbca2b8feab3259893576cdf814827906 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| force-pushed | https://github.com/clerk/javascript/compare/895e8ea81d00fe65ebaeb047f663672eb42186e9..7bc89f9cbca2b8feab3259893576cdf814827906 |
| 895e8ea | https://github.com/clerk/javascript/commit/895e8ea81d00fe65ebaeb047f663672eb42186e9 |
| 7bc89f9 | https://github.com/clerk/javascript/commit/7bc89f9cbca2b8feab3259893576cdf814827906 |
|
Compare
| https://github.com/clerk/javascript/compare/895e8ea81d00fe65ebaeb047f663672eb42186e9..7bc89f9cbca2b8feab3259893576cdf814827906 |
| August 23, 2024 13:32 | https://github.com/clerk/javascript/pull/4010#event-13993386421 |
|
| https://github.com/wobsoriano |
| chore(clerk-react): Add changeset | https://github.com/clerk/javascript/pull/4010/commits/830979d4e08237e84741f8ac222bde17b4d5418c |
| 830979d | https://github.com/clerk/javascript/pull/4010/commits/830979d4e08237e84741f8ac222bde17b4d5418c |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
|
Aug 23, 2024
| https://github.com/clerk/javascript/pull/4010#pullrequestreview-2257288117 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/4010/files/830979d4e08237e84741f8ac222bde17b4d5418c |
| packages/react/src/isomorphicClerk.ts | https://github.com/clerk/javascript/pull/4010/files/830979d4e08237e84741f8ac222bde17b4d5418c#diff-241f74befb6848af5fb3799a6ad6c08c9a845332a9ed99f3a51690a6b5eccf12 |
| wobsoriano | https://github.com/wobsoriano |
| Aug 23, 2024 | https://github.com/clerk/javascript/pull/4010#discussion_r1729002145 |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| calling addListener internally | https://github.com/clerk/javascript/blob/edbb1d4696a58f4321e50c15d311ca925e81b840/packages/react/src/contexts/ClerkContextProvider.tsx#L31 |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
|
| https://github.com/wobsoriano |
| test(clerk-react): Add addListener unit test | https://github.com/clerk/javascript/pull/4010/commits/1188e02ca5f95289632087ef3cdd127764322f87 |
| 1188e02 | https://github.com/clerk/javascript/pull/4010/commits/1188e02ca5f95289632087ef3cdd127764322f87 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| August 23, 2024 15:38 | https://github.com/clerk/javascript/pull/4010#event-13994927222 |
|
| https://github.com/wobsoriano |
| chore(clerk-react): Update imports | https://github.com/clerk/javascript/pull/4010/commits/4eaddcfdf822af7e5abfb6dab4155900ada4ae1f |
| 4eaddcf | https://github.com/clerk/javascript/pull/4010/commits/4eaddcfdf822af7e5abfb6dab4155900ada4ae1f |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| anagstef | https://github.com/anagstef |
| August 23, 2024 15:48 | https://github.com/clerk/javascript/pull/4010#event-13995035317 |
| https://github.com/brkalow |
| brkalow | https://github.com/brkalow |
|
Aug 23, 2024
| https://github.com/clerk/javascript/pull/4010#pullrequestreview-2257734104 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/4010/files/4eaddcfdf822af7e5abfb6dab4155900ada4ae1f |
| brkalow | https://github.com/brkalow |
| https://github.com/clerk/javascript/pull/4010#pullrequestreview-2257734104 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| 96234ce | https://github.com/clerk/javascript/commit/96234ce3d44ec6f262c07cc7416171f4cb82e07b |
| Aug 23, 2024 | https://github.com/clerk/javascript/pull/4010#event-13995991372 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| August 23, 2024 17:26 | https://github.com/clerk/javascript/pull/4010#event-13995991583 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
Aug 23, 2024
| https://github.com/clerk/javascript/pull/4010#ref-pullrequest-2481336774 |
|
ci(repo): Version packages
#4007
| https://github.com/clerk/javascript/pull/4007 |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F4010 |
|
| https://github.com/brkalow |
|
brkalow
| https://github.com/brkalow |
|
| https://github.com/clerk/javascript/pull/4010/files/4eaddcfdf822af7e5abfb6dab4155900ada4ae1f |
|
| https://github.com/anagstef |
|
anagstef
| https://github.com/anagstef |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
|
react
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact |
| Please reload this page | https://github.com/clerk/javascript/pull/4010 |
|
| https://github.com/wobsoriano |
|
| https://github.com/brkalow |
|
| https://github.com/clerk-cookie |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |