summaryrefslogtreecommitdiff
path: root/packages/integrations/vue/client.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-10-05Fixed an "Uncaught ReferenceError" inside of the @astrojs/vue package (#12116)Gravatar sammibajrami 1-1/+1
* fix(vue): initialized the 'app' variable earlier in the client.js script by assigning the 'appInstance' reference to it so that it is available for the later established 'astro:unmount' event listener * Add changeset * fix(vue): reverted the last change and instead moved the 'astro:unmount' event listener to inside of the 'if' statement where the 'app' variable is initialized --------- Co-authored-by: Matt Kane <m@mk.gg>
2024-10-03fix(vue): useId() collisions (#12112)Gravatar Florian Lefebvre 1-0/+1
2024-09-17Fix vue resetting state when using view transition persistence (#11946)Gravatar Johannes Spohr 1-14/+32
* Fix vue resetting state when using view transition persistence * Avoid calling internal apis when forcing vue component update
2024-04-17[ci] formatGravatar Emanuele Stoppa 1-1/+1
2024-03-13Revert "[ci] format" (#10417)Gravatar Emanuele Stoppa 1-1/+1
* Revert "[ci] format" This reverts commit 1863727215e87e20c6f5aebe5f9ee0f2783bc788. * pin dependency * update lock
2024-03-13[ci] formatGravatar Houston (Bot) 1-1/+1
2024-02-27chore: import sort source code, exception for the `astro` package (#10242)Gravatar Emanuele Stoppa 1-2/+2
* chore: import sort source code, exception for the `astro` package * fix import sorting bug * Update packages/integrations/lit/server.js Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-05Fix class property Vue hydration error (#9620)Gravatar Bjorn Lu 1-1/+0
2023-10-18Fix Vue HMR for script tags (#8860)Gravatar Bjorn Lu 1-9/+13
2023-08-29Unmount framework components when islands are destroyed (#8264)Gravatar Nate Moore 1-9/+7
* fix(view-transitions): update persistence logic for improved unmount behavior * feat(astro): add `astro:unmount` event * feat(vue): automatically unmount islands * feat(react): automatically unmount islands * feat(react): automatically unmount islands * feat(solid): automatically dispose of islands * feat(svelte): automatically destroy of islands * feat(svelte): automatically destroy of islands * feat(solid): automatically dispose of islands * feat(preact): automatically unmount islands * chore: update changeset * fix: rebase issue * chore: add clarifying comment * chore: remove duplicate changeset * chore: add changeset
2023-03-31[ci] formatGravatar matthewp 1-4/+4
2023-03-31supporting top of await (#6671)Gravatar wulinsheng123 1-3/+16
* add fix * fix * revert verison * fix fn is undefined g * add e2e test * fix unit test * delete redundant code * add changeset --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>
2022-10-13[ci] formatGravatar natemoo-re 1-1/+1
2022-10-13[Vue] add support for `appEntrypoint` (#5075)Gravatar Nate Moore 1-1/+4
* feat(vue): add support for appEntrypoint * chore: add changeset * test(vue): add tests for app entrypoint * docs(vue): update README to include app entrypoint * fix(vue): prefer resolvedVirtualModuleId Co-authored-by: Nate Moore <nate@astro.build>
2022-06-23Enable named slots in renderers (#3652)Gravatar Nate Moore 1-3/+3
* feat: pass all slots to renderers * refactor: pass `slots` as top-level props * test: add named slot test for frameworks * fix: nested hydration, slots that are not initially rendered * test: add nested-recursive e2e test * fix: render unmatched custom element children * chore: update lockfile * fix: unrendered slots for client:only * fix(lit): ensure lit integration uses new slots API * chore: add changeset * chore: add changesets * fix: lit slots * feat: convert dash-case or snake_case slots to camelCase for JSX * feat: remove tmpl special logic * test: add slot components-in-markdown test * refactor: prefer Object.entries.map() to for/of loop Co-authored-by: Nate Moore <nate@astro.build>
2022-05-31[ci] formatGravatar natemoo-re 1-17/+18
2022-05-31Improve nested and `client:only` hydration (#3455)Gravatar Nate Moore 1-4/+11
* wip: fix nested islands * fix: improve hydration for dynamic content * chore: fix bundle-size script for new files * chore: allow-list client:* directive files * fix(#3362): fix client:only behavior for React, Vue, Solid * test: add client-only e2e test * chore: update lockfile * test: fix e2e tests * test: add framework nesting e2e tests * Update packages/astro/src/runtime/client/events.ts Co-authored-by: Matthew Phillips <matthew@skypack.dev> * chore: add changeset * fix(preact): ignore hydrate roots * chore: remove `ssr` check in integrations * Revert "chore: remove `ssr` check in integrations" This reverts commit ba27eaae5514701f4b7bb6259f682fe82821a23d. * chore: add changeset Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-18Astro Integration System (#2820)Gravatar Fred K. Schott 1-0/+14
* update examples * add initial integrations * update tests * update astro * update ci * get final tests working * update injectelement todo * update ben code review * respond to final code review feedback