Comparison

Preact vs Stencil

On the evidence we track, Preact leads this comparison with a composite score of 81/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Preact81
Stencil61
Score
Vioscale score
Preact81 / 100medium · 72%updating
Stencil61 / 100medium · 71%updating
Pricing
Model
Price level
Preactfree
Stencil
Adoption
Dependent repos
Preact78,992
Stencil1
Github stars
Preact38,834
Stencil13,126
Package downloads weekly
Stencil1,375,018
Activity
Commits last 30d
Preact100
Stencil37
Release
Cadence days
Preact13
Stencil9
History
Preact20 items
Stencil20 items
License
Spdx
PreactMIT
StencilMIT
Language
Primary

Capabilities

Feature-by-feature on the axes that matter for frontend ui frameworks. “-” means undocumented, not absent.

Core
Paradigm
PreactVirtual DOM component library
StencilWeb component compiler
Reusable component model
Preact
Stencil
Rendering
Virtual DOM
Preact
Stencil
Signals / fine-grained reactivity
Preact-
Stencil-
SSR support
Preact
Stencil-
DX
First-class TypeScript
Preact-
Stencil
State
Built-in state management
Preact
Stencil-
Ecosystem
Official router
Preact-
Stencil-
Performance
Runtime size
PreactTiny (<10kb)
StencilTiny (<10kb)

What each one is

The product in its own terms, so the numbers below have context.

Preact

Leader

A minimal virtual DOM library that provides a React-compatible API with significantly reduced file size. Preact delivers performance-focused component development without the overhead of traditional frameworks.

Independently observed

Stencil

A TypeScript-based framework for authoring standards-compliant web components and component libraries that run on any browser or framework without framework dependencies.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Preact

Leader
Open source
as of verify ↗

Stencil

Pricing not documented yet.

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
Preact
Stencil
CLI
Preact
Stencil

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.