Skip to content

fix(deps): take the hydration-ids fix from @uxfront/layer-docs - #86

Merged
alexgrozav merged 1 commit into
mainfrom
drop-hydration-ids-uxf-815
Nov 17, 2026
Merged

alexgrozav merged 1 commit into
mainfrom
drop-hydration-ids-uxf-815

Conversation

@alexgrozav

Copy link
Copy Markdown
Contributor

What changed

@uxfront/layer-docs 0.8.4 now keeps the ids from useId the same on the server and in the browser, so this site's own copy of that fix goes:

  • modules/hydration-ids.ts and its test are deleted. The layer registers the same module, so Nuxt still keeps onServerPrefetch in the client build.
  • The "Keeping 100s" section of .github/CONTRIBUTING.md drops the line that named the module.

The site also moves to @uxfront/ui 0.9.1, @uxfront/layer-ui 0.1.11 and @uxfront/scene 0.5.1, the versions the layer depends on. Before, it installed two copies of @uxfront/ui (0.6.0 and 0.9.1) and two of @uxfront/scene (0.5.0 and 0.5.1). Now it installs one of each.

Every @uxfront/ui change since 0.6.0 adds a prop, a slot or a component, and the homepage looks the same as on opencomponents.dev. @uxfront/layer-ui 0.1.11 also makes the Organization that useUxHead() writes the site's own on every page, and pnpm check-seo passes with it.

All three were published less than 24 hours ago, so minimumReleaseAgeExclude lists the exact versions until they age in, as in #29. The entries for the versions the site no longer installs are gone.

On a desktop build, the sidebar's Framework select keeps its name once the page hydrates: its aria-labelledby is v-0-0-3-0 in the prerendered page and after hydration, and it names the "Framework" label. Lighthouse's button-name scores 1 on /docs/components/button, /docs/foundations/design-tokens and /docs/getting-started/introduction in the desktop preset.

Checklist

  • The title follows Conventional Commits, as in feat(docs): add the focus guideline.
  • pnpm check-types passes.
  • Docs changes: the pages read well on pnpm dev. (No page changes. The built pages were checked instead.)
  • Homepage changes: pnpm build, then pnpm lighthouse, still scores 100 in every category.

@uxfront/layer-docs 0.8.4 keeps useId's ids the same on the server and in the browser, so the site's own hydration-ids module and its test go. The site moves to @uxfront/ui 0.9.1, @uxfront/layer-ui 0.1.11 and @uxfront/scene 0.5.1, the versions the layer depends on, so one copy of each installs. The fresh versions are in minimumReleaseAgeExclude until they're 24 hours old.

Co-authored-by: multica-agent <github@multica.ai>
@alexgrozav
alexgrozav marked this pull request as ready for review November 17, 2026 07:12
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://drop-hydration-ids-uxf-815.opencomponents.dev, https://drop-hydration-ids-uxf-815-opencomponents.blue-water-0397.workers.dev (commit 304f6d9)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://8ec5df26.opencomponents.dev, https://8ec5df26-opencomponents.blue-water-0397.workers.dev 304f6d9 2026-11-17T07:32:46.156Z Visit the dashboard ↗

@alexgrozav
alexgrozav merged commit 4762f0e into main Nov 17, 2026
5 checks passed
@alexgrozav
alexgrozav deleted the drop-hydration-ids-uxf-815 branch November 17, 2026 09:39
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