René's URL Explorer Experiment


Title: fix(astro): Avoid importing transition functions when View Transitions is disabled by wobsoriano · Pull Request #4521 · clerk/javascript · GitHub

Open Graph Title: fix(astro): Avoid importing transition functions when View Transitions is disabled by wobsoriano · Pull Request #4521 · clerk/javascript

X Title: fix(astro): Avoid importing transition functions when View Transitions is disabled by wobsoriano · Pull Request #4521 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(astro): Avoid importing transition functions when View Transitions is disabled by wobsoriano · Pull Request #4521 · clerk/javascript

Open Graph Description: Description This PR fixes an issue where custom client-side routing (using History API's pushState) triggers unexpected full page reloads due to conflicts with Astro's internal popstate eve...

X Description: Description This PR fixes an issue where custom client-side routing (using History API's pushState) triggers unexpected full page reloads due to conflicts with Astro's internal pops...

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

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:a702edcd-3bc1-eb88-261a-a0d61dde2e08
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA8C:387B0D:3165DAB:45D26AB:6AFAE5B4
html-safe-nonce2472034a1c865be5ca70e0bb6aa6f55469ae29bafdb09b550346df0efdcfc2dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQThDOjM4N0IwRDozMTY1REFCOjQ1RDI2QUI6NkFGQUU1QjQiLCJ2aXNpdG9yX2lkIjoiNTcxNjUzMDMwNTE2MjczMjk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac39a8a9eba7d91e99e1d6607ccbc5e9cedf39c9397a68cc86abcb7a86eb6dda41
hovercard-subject-tagpull_request:2168455609
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/4521/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1556bade0f967ad8f952e0594ec19c262362cee1c4e569311a32c3edc560eea7/clerk/javascript/pull/4521
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1556bade0f967ad8f952e0594ec19c262362cee1c4e569311a32c3edc560eea7/clerk/javascript/pull/4521
og:image:altDescription This PR fixes an issue where custom client-side routing (using History API's pushState) triggers unexpected full page reloads due to conflicts with Astro's internal popstate eve...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewobsoriano
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
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
release12fff95459b24b0f882a66698ee6a36a5934d247
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/4521#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F4521
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%2F4521
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/4521
Reloadhttps://github.com/clerk/javascript/pull/4521
Reloadhttps://github.com/clerk/javascript/pull/4521
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
wobsorianohttps://github.com/wobsoriano
mainhttps://github.com/clerk/javascript/tree/main
rob/sdk-1976-fix-page-reloads-on-custom-csrhttps://github.com/clerk/javascript/tree/rob/sdk-1976-fix-page-reloads-on-custom-csr
Conversationhttps://github.com/clerk/javascript/pull/4521
Commits3 (3)https://github.com/clerk/javascript/pull/4521/commits
Checkshttps://github.com/clerk/javascript/pull/4521/checks
Files changedhttps://github.com/clerk/javascript/pull/4521/files
fix(astro): Avoid importing transition functions when View Transitions is disabledhttps://github.com/clerk/javascript/pull/4521#top
wobsorianohttps://github.com/wobsoriano
mainhttps://github.com/clerk/javascript/tree/main
rob/sdk-1976-fix-page-reloads-on-custom-csrhttps://github.com/clerk/javascript/tree/rob/sdk-1976-fix-page-reloads-on-custom-csr
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Nov 7, 2024https://github.com/clerk/javascript/pull/4521#issue-2642421013
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
popstate event handlershttps://github.com/withastro/astro/blob/e10b03e88c22592fbb42d7245b65c4f486ab736d/packages/astro/src/transitions/router.ts#L574
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
wobsorianohttps://github.com/wobsoriano
November 7, 2024 15:12https://github.com/clerk/javascript/pull/4521#commits-pushed-ed42e2a
https://github.com/wobsoriano
fix(astro): Do not import transition based functions when View Transi…https://github.com/clerk/javascript/pull/4521/commits/ed42e2a87bf6e797884dedaec363aaaa97e9a239
ed42e2ahttps://github.com/clerk/javascript/pull/4521/commits/ed42e2a87bf6e797884dedaec363aaaa97e9a239
https://github.com/wobsoriano
chore(astro): Add notes about transition enabled functionhttps://github.com/clerk/javascript/pull/4521/commits/9bfc5e636e87fba6a79eb633a094274ac0ec3ea5
9bfc5e6https://github.com/clerk/javascript/pull/4521/commits/9bfc5e636e87fba6a79eb633a094274ac0ec3ea5
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 7, 2024https://github.com/clerk/javascript/pull/4521#issuecomment-2463418285
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
75852fehttps://github.com/clerk/javascript/commit/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
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/rob/sdk-1976-fix-page-reloads-on-custom-csr?filename=.changeset/nervous-pandas-train.md&value=---%0A%22%40clerk%2Fastro%22%3A%20patch%0A---%0A%0Afix(astro)%3A%20Avoid%20importing%20transition%20functions%20when%20View%20Transitions%20is%20disabled%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Nov 7, 2024https://github.com/clerk/javascript/pull/4521#event-15196719749
https://github.com/wobsoriano
chore(astro): Add changesethttps://github.com/clerk/javascript/pull/4521/commits/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
75852fehttps://github.com/clerk/javascript/pull/4521/commits/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Nov 7, 2024 https://github.com/clerk/javascript/pull/4521#pullrequestreview-2422362833
View reviewed changes https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
packages/astro/src/internal/swap-document.tshttps://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb#diff-7fd42d0964e16a9f1a9920518bab4571fb9a73711135415aceeaab6adc174ed7
wobsorianohttps://github.com/wobsoriano
Nov 7, 2024https://github.com/clerk/javascript/pull/4521#discussion_r1833500030
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
a code that gets initializedhttps://github.com/withastro/astro/blob/e10b03e88c22592fbb42d7245b65c4f486ab736d/packages/astro/src/transitions/router.ts#L607
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
LekoArtshttps://github.com/LekoArts
panteliselefhttps://github.com/panteliselef
November 7, 2024 23:27https://github.com/clerk/javascript/pull/4521#event-15196825405
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
November 7, 2024 23:32https://github.com/clerk/javascript/pull/4521#event-15196933636
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
Nov 8, 2024 https://github.com/clerk/javascript/pull/4521#pullrequestreview-2423234473
View reviewed changes https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
https://github.com/anagstef
anagstefhttps://github.com/anagstef
Nov 8, 2024 https://github.com/clerk/javascript/pull/4521#pullrequestreview-2423355574
View reviewed changes https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Nov 8, 2024 https://github.com/clerk/javascript/pull/4521#pullrequestreview-2423601455
View reviewed changes https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
0d96132https://github.com/clerk/javascript/commit/0d96132f539d935bc659285dd439de8f89688d34
Nov 8, 2024https://github.com/clerk/javascript/pull/4521#event-15218106155
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
November 8, 2024 15:27https://github.com/clerk/javascript/pull/4521#event-15218106521
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Nov 8, 2024 https://github.com/clerk/javascript/pull/4521#ref-pullrequest-2638513109
ci(repo): Version packages #4504 https://github.com/clerk/javascript/pull/4504
wobsorianohttps://github.com/wobsoriano
Feb 8, 2025 https://github.com/clerk/javascript/pull/4521#ref-commit-bf296cb
https://github.com/wobsoriano
fix(astro): Avoid importing transition functions when View Transition…https://github.com/clerk/javascript/commit/bf296cb24205e3f2bc71776340691d00a6962926
bf296cbhttps://github.com/clerk/javascript/commit/bf296cb24205e3f2bc71776340691d00a6962926
#4521https://github.com/clerk/javascript/pull/4521
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%2F4521
https://github.com/anagstef
anagstef https://github.com/anagstef
https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
https://github.com/LekoArts
LekoArts https://github.com/LekoArts
https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
https://github.com/clerk/javascript/pull/4521/files/75852fe66563456ed78913d9aa8d6a1b29bb1ceb
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
Please reload this pagehttps://github.com/clerk/javascript/pull/4521
https://github.com/wobsoriano
https://github.com/anagstef
https://github.com/LekoArts
https://github.com/panteliselef
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.