Skip to content

Version Packages - #6

Merged
paulmelero merged 1 commit into
mainfrom
changeset-release/main
Sep 23, 2026
Merged

paulmelero merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@graficos/nuxt-comments@0.5.1

Patch Changes

  • 34d9e26: Fix two reaction-hydration bugs surfaced by the new playground e2e suite:

    • The initial-page watcher (immediate + flush: 'sync') called
      scheduleReactionHydration during setup, before the hydration batching state
      was initialized — a temporal-dead-zone crash on any page that rendered
      comments with reactions enabled.
    • A reaction-hydration response already in flight when the viewer toggled a
      reaction could overwrite the optimistic update. Locally mutated comments are
      now skipped when hydration summaries are merged.
  • 34d9e26: Treat the idle useAsyncData state as loading.

    On a prerendered page the server skips the initial fetch
    (server: !import.meta.prerender), so the async-data status stays idle.
    useComments' loading now includes idle, so <Comments> renders its
    loading state in the prerendered HTML instead of the empty state (and stays
    consistent through hydration). Consumers can drop <ClientOnly>.

@paulmelero
paulmelero merged commit 63fc360 into main Sep 23, 2026
2 checks passed
@paulmelero
paulmelero deleted the changeset-release/main branch September 23, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant