Skip to content

docs: add the Nanoviews implementations to the bundle size tables - #305

Merged
dangreen merged 1 commit into
mainfrom
docs/nanoviews-bundle-sizes
Oct 21, 2026
Merged

dangreen merged 1 commit into
mainfrom
docs/nanoviews-bundle-sizes

Conversation

@dangreen

Copy link
Copy Markdown
Member

Why

Nanoviews 1.0.0 is out, and its repository implements the weather and Rick and Morty examples on Nano Kit. They are the smallest stacks the size tables can show: the weather app is 10.77 kB gzipped against 13.92 kB for Solid with Nano Stores, the lightest row so far, and 66.93 kB for React with Nano Kit.

What

  • examples/README.md: the weather table gets Nanoviews with Nano Kit and with Nano Kit and DI, the Rick and Morty table gets Nanoviews with Nano Kit query and router. The rows link to the examples in the Nanoviews repository, and the feather moves to them.
  • Getting Started, Bundle Sizes: the weather table gets the two Nanoviews rows, linked to the Nanoviews site, and the footnote points to the repository that holds them.
Stack Raw Gzipped
Weather: Nanoviews + Nano Kit 28.11 kB 10.77 kB
Weather: Nanoviews + Nano Kit + DI 29.44 kB 11.23 kB
Rick and Morty: Nanoviews + Nano Kit query + router 35.26 kB 17.66 kB

Notes

  • Measured the way the other rows are: a production build, vite preview, and packages/benchmarks/js-size.js on the first page, raw as decoded and gzipped as transferred.
  • The Nanoviews repository at v1.0.0 builds its examples with Vite 8.3.4. For these numbers its clone pinned Vite 8.2.1 and rolldown 1.2.3 through overrides, the toolchain of the examples here, so the rows compare like for like.
  • weather/common/src is the same in both repositories byte for byte, and so are the Rick and Morty stores: the rows differ in the view layer alone. A second run gave the same numbers to the hundredth.

@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.60%. Comparing base (f4b29d6) to head (bc1344c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #305      +/-   ##
==========================================
- Coverage   83.62%   83.60%   -0.03%     
==========================================
  Files         228      228              
  Lines        4849     4849              
  Branches     1074     1074              
==========================================
- Hits         4055     4054       -1     
- Misses        553      554       +1     
  Partials      241      241              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dangreen
dangreen merged commit b26138b into main Oct 21, 2026
11 checks passed
@dangreen
dangreen deleted the docs/nanoviews-bundle-sizes branch October 21, 2026 14:54
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