Web Development · head to head
Preact vs Vault

Preact
Web Development
3kB alternative to React with the same modern API
- From
- Free
- Rated
- -
The short version
- Each has a real cost: Preact compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose; Vault vault 1.15.0 and later is licensed under the Business Source License 1.1, not an OSI open source licence, with IBM Corporation as licensor
- They diverge on capability: Preact covers 3kB runtime, Vault covers Secrets management.
- Prices and features above were last checked on 30 August 2026.
Where they differ
Only the attributes on which Preact and Vault actually diverge.
Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated).
What each one covers
Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
Only in Vault
- Secrets management
- Encryption
- Authentication
- Authorization
- Audit logging
- API access
- High availability
- Replication
What people use each for
The jobs each tool is most often brought in to do.
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot Vault
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Vault
- Applications targeting low-bandwidth or low-powered devicesnot Vault
Vault
- Centrally storing and rotating secrets, API keys and database credentialsnot Preact
- Issuing short-lived dynamic credentials to applications instead of static passwordsnot Preact
- Encryption as a service and PKI certificate issuancenot Preact
Where each one falls short
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Preact
- Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
- Behavioural differences from React exist in edge cases, particularly around event handling
- A much smaller community, so unusual problems have fewer existing answers than React
Vault
- Vault 1.15.0 and later is licensed under the Business Source License 1.1, not an OSI open source licence, with IBM Corporation as licensor
- The Additional Use Grant forbids offering Vault to third parties on a hosted or embedded basis in a paid product that competes with IBM's paid versions of Vault
- Each version only converts to MPL 2.0 four years after that version is published, and the Change Date is tracked per version
- Replication, HSM support, namespaces, performance standby nodes, FIPS builds, control group authorisation, multi-factor authentication, secrets sync and lease count quotas all require a Vault Enterprise licence
- A Vault Enterprise licence must be applied to the cluster before any Enterprise feature can be used
Pricing, plan by plan
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
Vault
Free- Open SourceFree
- Secrets management
- Encryption as a service
- Identity management
- EnterpriseFree
- Advanced features
- Premium support
- Dedicated updates
Which should you pick?
Choose Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Choose Vault if
- You need secrets management.
- You want to start without paying.
- You work on Linux, Windows, Mac, Cloud.
- You also want encryption.
Questions people ask
- Is Preact or Vault better?
- Neither clearly leads. Preact starts at Free and Vault at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Preact or Vault?
- Preact starts at Free and Vault at Free.
- Does Preact or Vault run on more platforms?
- Preact runs on Web. Vault runs on Linux, Windows, Mac, Cloud.
- Can I use Preact for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Preact best used for?
- Preact is most often used for embedded widgets that load inside someone else’s page and must stay small, marketing and content sites where javascript payload affects core web vitals, applications targeting low-bandwidth or low-powered devices. Of those, embedded widgets that load inside someone else’s page and must stay small and marketing and content sites where javascript payload affects core web vitals are not what Vault is typically brought in for.
- What can Preact do that Vault cannot?
- Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering. Vault covers Secrets management, Encryption, Authentication, Authorization.
Answered from the vendors’ own pages
Preact: Is Preact free?
Yes, open source under the MIT licence.
Vault: Is HashiCorp Vault free to use?
Yes, Vault is available as a free, open-source project. The community version includes secrets management, certificate generation and rotation, encryption services, and credential management. Vault Enterprise is a commercial offering with additional features.
SourcePreact: Can I use React libraries with Preact?
Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.
Vault: What are the differences between open-source Vault and Vault Enterprise?
Open-source Vault is free and self-hosted. Vault Enterprise includes additional features and commercial support. HashiCorp also offers Vault Dedicated on the HashiCorp Cloud Platform as a fully managed cloud option.
SourcePreact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
Vault: Can I try HashiCorp Cloud Platform Vault without payment?
Yes, HashiCorp offers a free trial option for HCP Vault Dedicated. New users also receive a $500 credit to use across HashiCorp Cloud Platform services.
SourceVault: What does Vault manage and protect?
Vault provides identity-based secrets management for users, machines, services, and AI agents. It automates authentication and authorization for access to secrets, passwords, certificates, encryption keys, and other sensitive data across your infrastructure.
SourceRelated pages
Other head to heads
- Preact vs React
- Preact vs SolidJS
- Preact vs MUI
- Preact vs Bootstrap
- Preact vs esbuild
- Preact vs Lit
- Preact vs MySQL
- Preact vs Docusaurus
- Preact vs Vue.js
- Preact vs Angular
- Preact vs Radix UI
- Preact vs shadcn/ui
- Preact vs HTMX
- Preact vs Node.js
- Preact vs v0 by Vercel
- Preact vs Wix
- Preact vs Apache HTTP Server
- Preact vs Wix Studio
- Preact vs AWS (Amazon Web Services)
- Preact vs DigitalOcean
- Preact vs Grafana Cloud
- Preact vs Neon
- Preact vs Crossplane
- Preact vs Microsoft Azure
- Preact vs Podman
- Preact vs Hetzner Cloud
- Preact vs Linode
- Preact vs Vultr
- Preact vs Akamai
- Preact vs Alibaba Cloud
- Preact vs CapRover
- Preact vs Chef
- Preact vs Buildah
- Vault vs React
- Vault vs SolidJS
- Vault vs MUI
- Vault vs Bootstrap
- Vault vs esbuild
- Vault vs Lit
- Vault vs MySQL
- Vault vs Docusaurus
- Vault vs Vue.js
- Vault vs Angular
- Vault vs Radix UI
- Vault vs shadcn/ui
- Vault vs HTMX
- Vault vs Node.js
- Vault vs v0 by Vercel
- Vault vs Wix
- Vault vs Apache HTTP Server
- Vault vs Wix Studio
- Vault vs AWS (Amazon Web Services)
- Vault vs DigitalOcean
- Vault vs Grafana Cloud
- Vault vs Neon
- Vault vs Crossplane
- Vault vs Microsoft Azure
- Vault vs Podman
- Vault vs Hetzner Cloud
- Vault vs Linode
- Vault vs Vultr
- Vault vs Akamai
- Vault vs Alibaba Cloud
- Vault vs CapRover
- Vault vs Chef
- Vault vs Buildah

