# Preact vs Stencil

**Leader by vioscaleAI score:** Preact

| Attribute | Preact | Stencil |
|---|---|---|
| **vioscaleAI score** | 77.9 (72% (medium)) | 60.8 (71% (medium)) |
| activity.commits_last_30d | 70 | 20 |
| adoption.dependent_repos | 78,992 | 1 |
| adoption.github_stars | 38,926 | 13,139 |
| adoption.package_downloads_weekly | 38,692,983 | 1,543,926 |
| content.faq | `[{"answer":"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. It is indexed under Frontend UI Frameworks.","source":"https://preactjs.com/","question":"What is Preact?","confidence":0.6},{"answer":"Preact is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://preactjs.com/","question":"Is Preact free to use?","confidence":0.6},{"answer":"We have confirmed browser-based access to Preact. That is the extent of what we could verify from public sources, so it may well offer desktop or mobile clients we have not indexed.","source":"https://preactjs.com/","question":"What platforms does Preact support?","confidence":0.6},{"answer":"Yes. Preact is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/preactjs/preact","question":"Is Preact open source?","confidence":0.99}]` | `[{"answer":"A TypeScript-based framework for authoring standards-compliant web components and component libraries that run on any browser or framework without framework dependencies. It is indexed under Frontend UI Frameworks.","source":"https://stenciljs.com/","question":"What is Stencil?","confidence":0.6},{"answer":"Stencil supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://stenciljs.com/","question":"What platforms does Stencil support?","confidence":0.6},{"answer":"Yes. Stencil is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://www.npmjs.com/package/@stencil/core","question":"Is Stencil open source?","confidence":0.85}]` |
| description.long | A minimal virtual DOM framework providing React-style components and APIs, optimized for tiny bundle size and fast performance across modern browsers. | Stencil transforms TypeScript and JSX code into optimized web components through a build-time compilation process. It provides decorators for declaring component metadata, lifecycle hooks for managing component behavior, and virtual DOM rendering for efficient updates. |
| features.capabilities | `{"paradigm":"Virtual DOM component library","bundle_size":"tiny","ssr_support":true,"virtual_dom":true,"component_model":true,"router_official":true,"state_management":true}` | `{"paradigm":"Web component compiler","bundle_size":"tiny","ssr_support":true,"virtual_dom":true,"component_model":true,"state_management":true,"typescript_first":true}` |
| language.primary | JavaScript | TypeScript |
| license.spdx | MIT | MIT |
| platform.support | `{"web":true}` | `{"web":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://preactjs.com/","retrievedAt":"2026-10-13T13:50:36.035Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://stenciljs.com/","retrievedAt":"2026-10-13T13:46:15.636Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| release.cadence_days | 13 | 9 |
| release.history | `[{"url":"https://github.com/preactjs/preact/releases/tag/11.0.1","date":"2026-10-08T08:28:17Z","type":"stable","version":"11.0.1"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0","date":"2026-09-30T13:09:07Z","type":"stable","version":"11.0.0"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-rc.2","date":"2026-09-08T09:03:07Z","type":"prerelease","version":"11.0.0-rc.2"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-rc.1","date":"2026-08-26T07:49:33Z","type":"prerelease","version":"11.0.0-rc.1"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-rc.0","date":"2026-08-10T06:17:58Z","type":"prerelease","version":"11.0.0-rc.0"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.8","date":"2026-08-01T09:57:31Z","type":"stable","version":"10.29.8"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-beta.2","date":"2026-07-15T16:46:28Z","type":"prerelease","version":"11.0.0-beta.2"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.7","date":"2026-07-08T17:33:42Z","type":"stable","version":"10.29.7"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.6","date":"2026-07-08T07:34:46Z","type":"stable","version":"10.29.6"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.5","date":"2026-07-07T16:51:01Z","type":"stable","version":"10.29.5"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.4","date":"2026-07-03T10:58:50Z","type":"stable","version":"10.29.4"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.3","date":"2026-06-26T05:16:07Z","type":"stable","version":"10.29.3"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.2","date":"2026-05-17T09:58:18Z","type":"stable","version":"10.29.2"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.1","date":"2026-04-03T10:43:40Z","type":"stable","version":"10.29.1"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.0","date":"2026-03-10T18:28:07Z","type":"stable","version":"10.29.0"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.4","date":"2026-02-19T07:15:06Z","type":"stable","version":"10.28.4"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-beta.1","date":"2026-02-15T10:10:26Z","type":"prerelease","version":"11.0.0-beta.1"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.3","date":"2026-01-31T09:58:48Z","type":"stable","version":"10.28.3"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.2","date":"2026-01-06T14:51:37Z","type":"stable","version":"10.28.2"},{"url":"https://github.com/preactjs/preact/releases/tag/10.27.3","date":"2026-01-06T14:59:45Z","type":"stable","version":"10.27.3"}]` | `[{"url":"https://github.com/stenciljs/core/releases/tag/v4.45.2","date":"2026-10-05T11:21:10Z","type":"stable","version":"v4.45.2"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.45.1","date":"2026-09-23T10:09:49Z","type":"stable","version":"v4.45.1"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.45.0","date":"2026-09-12T00:06:08Z","type":"stable","version":"v4.45.0"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.44.2","date":"2026-08-26T16:44:04Z","type":"stable","version":"v4.44.2"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.44.1","date":"2026-08-21T11:31:44Z","type":"stable","version":"v4.44.1"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.44.0","date":"2026-08-11T15:07:47Z","type":"stable","version":"v4.44.0"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.43.5","date":"2026-05-28T19:07:17Z","type":"stable","version":"v4.43.5"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.43.4","date":"2026-04-13T12:46:38Z","type":"stable","version":"v4.43.4"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.43.3","date":"2026-04-13T12:44:59Z","type":"stable","version":"v4.43.3"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.43.2","date":"2026-02-27T09:27:22Z","type":"stable","version":"v4.43.2"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.43.1","date":"2026-02-20T17:27:50Z","type":"stable","version":"v4.43.1"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.43.0","date":"2026-02-17T08:52:30Z","type":"stable","version":"v4.43.0"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.42.1","date":"2026-02-06T17:46:42Z","type":"stable","version":"v4.42.1"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.42.0","date":"2026-02-01T23:42:03Z","type":"stable","version":"v4.42.0"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.41.3","date":"2026-01-23T12:35:33Z","type":"stable","version":"v4.41.3"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.41.2","date":"2026-01-16T10:22:43Z","type":"stable","version":"v4.41.2"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.41.1","date":"2026-01-08T23:40:35Z","type":"stable","version":"v4.41.1"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.41.0","date":"2026-01-02T22:24:06Z","type":"stable","version":"v4.41.0"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.40.1","date":"2025-12-23T22:42:57Z","type":"stable","version":"v4.40.1"},{"url":"https://github.com/stenciljs/core/releases/tag/v4.40.0","date":"2025-12-23T10:16:22Z","type":"stable","version":"v4.40.0"}]` |
| security.scorecard | 5.8 | 6 |
| security.vulnerabilities | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=preact&per_page=100","last_12m":1,"max_severity":"HIGH"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2Fionic-team%2Fstencil&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Frontend UI Frameworks)

| Capability | Preact | Stencil |
|---|:--:|:--:|
| **Core** |  |  |
| Paradigm | Virtual DOM component library | Web component compiler |
| Reusable component model | ✓ | ✓ |
| **Rendering** |  |  |
| Virtual DOM | ✓ | ✓ |
| Signals / fine-grained reactivity | - | - |
| SSR support | ✓ | ✓ |
| **DX** |  |  |
| First-class TypeScript | - | ✓ |
| **State** |  |  |
| Built-in state management | ✓ | ✓ |
| **Ecosystem** |  |  |
| Official router | ✓ | - |
| **Performance** |  |  |
| Runtime size | Tiny (<10kb) | Tiny (<10kb) |

*Source: vioscaleAI. Generated 2026-10-16T19:22:12.991Z. "-" = undocumented, not absent.*
