Softwr

Web Development · head to head

Preact vs Drupal

Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Rated
-
Drupal logo

Drupal

Web Development

Open-source CMS for complex, structured content sites

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; Drupal steep learning curve: concepts that are implicit in WordPress are explicit and must be configured
  • They diverge on capability: Preact covers 3kB runtime, Drupal covers Structured content modelling.

Where they differ

Only the attributes on which Preact and Drupal actually diverge.

Attributes where Preact and Drupal differ
AttributePreactDrupal
PlatformsWebWeb, Linux, Self-hosted

Identical on both: starting price (Free), pricing model (Open source, no licence fee), free tier (Yes), user rating (Not yet rated), category (Web Development).

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 Drupal

  • Structured content modelling
  • Granular permissions
  • Multilingual
  • Views

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 Drupal
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Drupal
  • Applications targeting low-bandwidth or low-powered devicesnot Drupal

Drupal

  • Government and university sites with complex content models and strict permissionsnot Preact
  • Multilingual sites where translation is structural rather than a pluginnot Preact
  • Publishers needing custom content types and editorial workflownot 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

Drupal

  • Steep learning curve: concepts that are implicit in WordPress are explicit and must be configured
  • Smaller developer pool than WordPress, and correspondingly higher build costs
  • Major version upgrades have historically been substantial projects, not routine updates
  • Considerably more machinery than a straightforward marketing site needs

Pricing, plan by plan

Preact

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

Drupal

Free
  • DrupalFree
    • Full functionality
    • Commercial use permitted
    • Community support

Which should you pick?

Choose Preact if

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

Choose Drupal if

  • You need structured content modelling.
  • You want to start without paying.
  • You work on Web, Linux, Self-hosted.
  • You also want granular permissions.

Questions people ask

Is Preact or Drupal better?
Neither clearly leads. Preact starts at Free and Drupal at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Preact or Drupal?
Preact starts at Free and Drupal at Free.
Does Preact or Drupal run on more platforms?
Preact runs on Web. Drupal runs on Web, Linux, Self-hosted.
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 Drupal is typically brought in for.
What can Preact do that Drupal cannot?
Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering. Drupal covers Structured content modelling, Granular permissions, Multilingual, Views.

Answered from the vendors’ own pages

Preact: Is Preact free?

Yes, open source under the MIT licence.

Drupal: Is Drupal free?

Yes, open source under the GPL. Costs are hosting, development and any commercial modules.

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.

Drupal: Drupal or WordPress?

WordPress is faster to launch, cheaper to staff and has a much larger plugin ecosystem. Drupal is stronger when the content model is genuinely complex and permissions are strict, which is why institutions favour it.

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.

Drupal: Why is Drupal common in government and universities?

Structured content modelling, granular access control and multilingual support are core rather than bolted on, and those are exactly the requirements those sectors have.

Share

Related pages

Other head to heads