bundle/roast
preact@10.29.2
new
file no. 001 / npm ▍weigh-in

preact TS

Fast 3kb React-compatible Virtual DOM library.

version 10.29.2 · entry dist/preact.mjs · subpaths 12 · #preact#react#ui#user interface#virtual dom#vdom
weighed at
brotli q11 · rolldown + minify
wire weight · brotli
13.12 kB
verdict small
brotli is 34% of minified unpacks 2.9× on the wire
minified
38.53 kB
saved on the wire
25.41 kB
field notes
side effects
not declared
module formats
ESM + CJS
exports map
present
types
bundled (own .d.ts)
peer deps
none
the roast
AI · freshly written
incoming dispatch · priority: hot
the wire is humming…
  • . main entry
    100%
    4.24 kB br
    · 11.26 kB min
  • ./compat
    87%
    3.68 kB br
    · 10.03 kB min
  • ./debug
    77%
    3.25 kB br
    · 8.95 kB min
  • ./hooks
    32%
    1.35 kB br
    · 3.55 kB min
  • ./jsx-runtime
    20%
    864 B br
    · 1.73 kB min
  • ./jsx-dev-runtime
    20%
    864 B br
    · 1.73 kB min
  • ./test-utils
    9%
    380 B br
    · 892 B min
  • ./compat/test-utils
    9%
    380 B br
    · 892 B min
  • ./devtools
    4%
    189 B br
    · 306 B min
  • ./compat/server
    4%
    167 B br
    · 523 B min
  • ./compat/client
    4%
    161 B br
    · 278 B min
  • ./compat/server.browser
    2%
    104 B br
    · 212 B min
  • ./compat/jsx-runtime
    1%
    51 B br
    · 54 B min
dependencies
deps-free certified standalone
transitive cost
zero.

preact ships on its own — no transitive weight, no shared deps to dedupe, no peer pressure. a rare bird.

see also
outbound
another case
drop a package

Got a heavier sin to confess? Roast another package — or share this one to make a friend reconsider their dep tree.