Skip to content

chore(deps): move to @meonode/ui 3.3.0 - #331

Merged
l7aromeo merged 1 commit into
mainfrom
chore/deps-meonode-ui-3.3
Nov 21, 2026
Merged

l7aromeo merged 1 commit into
mainfrom
chore/deps-meonode-ui-3.3

Conversation

@l7aromeo

@l7aromeo l7aromeo commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Part of #323

What changes

@meonode/ui 3.1.3 → 3.3.0. No source changes. The lockfile adds a second stylis, 4.4.0, nested under
@meonode/ui: since 3.2.0 it asks for ^4.4.0, which can't share the 4.2.0 that Emotion pins exactly. That is
l7aromeo/meonode#136, planned for the next @meonode/ui patch.

What reaches the site:

  • In the browser, a styled node resolves its classes without Emotion's css-prop components: 3 fibers on the mount that
    inserts its rule and 2 after, where it took 4.
  • Themed at-rule and selector keys resolve against the nearest provider. The site has 34 such keys, all @media on
    theme.breakpoint (compact 768px, wide 1280px), under its one ThemeProvider.
  • A separate react-server build, which the server components now resolve.

How it was checked

Two production builds, main (06dd486, 3.1.3) and this branch, compared on the same machine. Every capture below is
taken once the page has hydrated (React's fiber on a header button), with the network settled.

Rendering. 13 pages (home, two guides, the API index, a kind page, a symbol page, a cheat sheet, the changelog, the
glossary, the playground, 4.2's API, a 4.1 release and the 404), each at 375, 767, 768, 1024, 1279, 1280 and 1440 px in
the light scheme and at 1280 px in the dark: 104 views.

  • Every element's box and 24 computed styles (colour, background, font, padding, margin, border, radius, gap, grid,
    opacity, visibility, shadow, display, position): 146,148 elements, none moved by more than 0.5 px, none restyled, none
    added or gone.
  • Full-page screenshots: 104 of 104 byte-identical in the first run. In a second run, 5 differ, 2 on main and 3 on
    this branch, each from its own build's first shot as much as from the other build's: the monospace face hadn't
    swapped in when they were taken, so inline code shows the fallback, in the same boxes.
  • CSS in the document: the same rule count and the same bytes in every view, from 328 rules (the 404) to 500 (home).

Client paths. On each build, the same steps, captured after each: a sidebar navigation from guards to
components and Back; the theme switched at runtime, light to dark and back; the phone navigation sheet, and the theme
switched inside it; the palette, empty and with a query; the sidebar filter; and a playground Run with its logs opened.
12 captures, 36,020 elements: none moved, none restyled, none added or gone, with the same CSS rules and bytes in each.
Their screenshots match too, except the playground's opened logs, whose timestamps differ between any two runs.
The harness was checked both ways: a second run on this branch matches the first in every box and style, and a run
with a restyle planted after hydration is caught (102 boxes moved, 84 elements restyled).

Server and client output. l7aromeo/meonode#136 notes that server components compile themed CSS with stylis 4.4
while Emotion runs 4.2 in the browser, so the two could disagree. On every capture above, 104 views and 12 client steps
on each build, the page's own URL is fetched again and its server HTML compared with the live page:

  • every CSS rule the server sent (its <style> elements and linked stylesheets) against every rule the browser holds:
    no selector holds text the server didn't send for it, on either build;
  • class attributes, element by element: the same on both builds (none on load; the client steps change the same few,
    identically);
  • the console: no hydration or className report, and no other warning or error beyond the 404 page's two 404 loads
    (the page itself, and the harness fetching it again).

Planted faults show each check fires: a rule the server never sent, a changed class and a mismatch report are each
reported.

Themed at-rules. The widths sit on both sides of both breakpoints the 34 keys use (767/768, 1279/1280). Every view's
set of @media conditions is identical between the builds, and no element changes on either side of a breakpoint, so
each key resolves to the same query and no later block for the same property takes over.

Bytes. First-load JS grows by 4.4 KB gzipped on every page: 182.0 → 186.4 KB on a guide or API page, 182.4 → 186.7
KB on home, 186.8 → 191.2 KB on the playground, against the 220 KB budget (bun run budget:js: 4616 pages, 0 over). It
is one shared chunk, 29.1 → 33.5 KB at the default gzip level budget:js uses; the others are unchanged. By module,
each measured at -9 as the chunk gzipped with and without it (28,909 → 33,176 B for the whole chunk):

gzip shares its context across modules, so removing each module alone undercounts what they cost together: the
removals add up to 3.7 KB of the chunk's 4,267 B growth, not all of it. A later @meonode/ui bump that carries both
upstream fixes wins those bytes back. The renderer now imports @emotion/utils directly, which @emotion/react
already bundles, so that adds nothing.

Largest paint. Measured locally on one machine, not in CI: the repository's own @performance spec (Lighthouse
through the gzip edge hop, median of five runs, three for applied throttling), on each build:

Page Desktop LCP Mobile LCP Applied LCP CLS
/ 440 → 440 ms 2100 → 2100 ms 1474 → 1455 ms 0 → 0
/docs/4.1/defer 440 → 440 ms 2100 → 2100 ms 1537 → 1515 ms 0 → 0
/docs/4.1/testing 520 → 520 ms 2100 → 2100 ms 1510 → 1503 ms 0 → 0
/docs/4.1/api/controllers/ShardContext 440 → 440 ms 2100 → 2100 ms 1453 → 1439 ms 0 → 0
/docs/4.1/changelog 440 → 440 ms 1950 → 1950 ms 1416 → 1431 ms 0 → 0
/docs/4.1/changelog/4.1.0-beta.0 505 → 498 ms 2100 → 2100 ms 1522 → 1503 ms 0 → 0

Applied runs use the 10× CPU slowdown on both builds, so their differences are within run-to-run variation.

Checks. bun run lint, format:check, typecheck, content:check, examples:check: pass. bun run test:coverage: 111 files, 972 tests pass. CI runs the build and e2e.

@meonode/ui 3.1.3 → 3.3.0. In the browser, styled nodes resolve
their classes without Emotion's css-prop components, so a styled
node takes 3 fibers on the mount that inserts its rule and 2 after,
where it took 4. Themed at-rule and selector keys resolve against
the nearest provider; the site's 34 such keys are all `@media` on
`theme.breakpoint`, under its one ThemeProvider. 3.2 adds a separate
react-server build. stylis moves to 4.4.0 with it.

lint, format:check, typecheck, test:coverage, content:check and
examples:check pass.
@l7aromeo
l7aromeo marked this pull request as ready for review November 21, 2026 00:00
@l7aromeo
l7aromeo added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit f1f9df4 Nov 21, 2026
8 checks passed
@l7aromeo
l7aromeo deleted the chore/deps-meonode-ui-3.3 branch November 21, 2026 00:16
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