Softwr

Web Development · head to head

Preact vs WordPress

Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes
WordPress logo

WordPress

CMS Software

Create a beautiful website, blog, or app

From
Free
Free plan
Yes

The short version

  • WordPress is a free and open-source content management system written in PHP.
  • Both are free.
  • Only Preact lists 3kB runtime; only WordPress lists content management.
  • Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
  • Where WordPress falls short: self-hosted installation requires PHP 8.3 and MySQL 8.0 or MariaDB 10.11 minimum; older versions expose security vulnerabilities.

How do Preact and WordPress differ?

Preact and WordPress differ on pricing model, platforms (Web against Self-hosted, Web) and category (Web Development against CMS Software). Only the attributes on which Preact and WordPress actually diverge.

Attributes where Preact and WordPress differ
AttributePreactWordPress
Pricing modelOpen source, no licence feeOpen-source
PlatformsWebSelf-hosted, Web
CategoryWeb DevelopmentCMS Software

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Preact.

Which features does each one have?

They share no listed features; 4 appear only for Preact and 20 only for WordPress. 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 WordPress

  • Content management
  • Theme system
  • Plugin architecture
  • User management
  • SEO optimization
  • Media management
  • Comment system
  • Multilingual support

What is each one used for?

Preact is most often brought in for embedded widgets that load inside someone else’s page and must stay small; WordPress for content management and blog publishing. 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 WordPress
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot WordPress
  • Applications targeting low-bandwidth or low-powered devicesnot WordPress

WordPress

  • Content management and blog publishingnot Preact
  • Website building with themes and pluginsnot Preact
  • E-commerce with WooCommercenot Preact
  • Community sites and forumsnot Preact

Where do Preact and WordPress fall short?

Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. WordPress's: requires web server (Apache or Nginx) setup and ongoing maintenance; not suitable for serverless deployment. 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

WordPress

  • Self-hosted installation requires PHP 8.3 and MySQL 8.0 or MariaDB 10.11 minimum; older versions expose security vulnerabilities
  • Requires web server (Apache or Nginx) setup and ongoing maintenance; not suitable for serverless deployment
  • HTTPS mandatory for all installations; HTTP-only setups are not supported
  • Self-hosting requires responsibility for security patches, backups, and server administration

How much do Preact and WordPress cost?

Preact is free to use; WordPress is free to use. Plan by plan below, from each vendor's own pricing page.

Preact

Free
  • PreactFree
    • Full library
    • Commercial use permitted
    • No usage limits

WordPress

Free
  • WordPress software (self-hosted)Free

Which should you pick?

Choose Preact if

  • You need 3kb runtime.
  • You want to start without paying.
  • You also want preact/compat.

Choose WordPress if

  • You need content management.
  • You want to start without paying.
  • You work on Self-hosted, Web.
  • You also want theme system.

Questions people ask

Is Preact or WordPress better?
It depends on the job. Preact fits embedded widgets that load inside someone else’s page and must stay small; WordPress fits content management and blog publishing. Preact starts at Free and WordPress at Free.
Which is cheaper, Preact or WordPress?
Preact starts at Free and WordPress at Free.
Does Preact or WordPress run on more platforms?
Preact runs on Web. WordPress runs on Self-hosted, Web.
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 WordPress is typically brought in for.
What can Preact do that WordPress cannot?
Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering. WordPress covers Content management, Theme system, Plugin architecture, User management.

Answered from the vendors’ own pages

Preact: Is Preact free?

Yes, open source under the MIT licence.

WordPress: Does WordPress charge licensing fees for using the software?

WordPress is free and open source software, meaning there are no licensing costs to download or use the platform itself.

Source
Preact: 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.

WordPress: What costs should I expect when running a WordPress site?

While WordPress software is free, you will typically need to pay separately for web hosting, domain registration, and optional premium themes or plugins. These costs are not part of WordPress itself but are provided by third-party services.

Source
Preact: Why choose Preact over React?

Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.

Share

Related pages

Other head to heads