Repository navigation
docs: add the Nanoviews implementations to the bundle size tables - #305
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.Notes
vite preview, andpackages/benchmarks/js-size.json the first page, raw as decoded and gzipped as transferred.v1.0.0builds its examples with Vite 8.3.4. For these numbers its clone pinned Vite 8.2.1 and rolldown 1.2.3 throughoverrides, the toolchain of the examples here, so the rows compare like for like.weather/common/srcis 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.