Softwr

Web Development · head to head

Angular vs Preact

Angular logo

Angular

Web Development

Google's TypeScript framework for building web applications

From
Free
Free plan
Yes
Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Angular lists TypeScript first; only Preact lists 3kB runtime.
  • 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.

How do Angular and Preact differ?

Only the attributes on which Angular and Preact actually diverge.

On every field we record, Angular and Preact match. The differences are in what each one covers, below.

Identical on both: starting price (Free), free tier (Yes), platforms (Web), category (Web Development).

Not yet recorded: pricing model for Angular, founded for Preact.

Which features does each one have?

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

  • TypeScript first
  • Command line tooling
  • Dependency injection
  • Router
  • Forms
  • Server-side rendering
  • Automated migrations
  • Predictable release schedule

Only in Preact

  • 3kB runtime
  • preact/compat
  • Same modern API
  • Fast rendering

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. The jobs each tool is most often brought in to do.

Angular

  • A long-lived internal business application maintained by a rotating team that benefits from a single enforced structurenot Preact
  • A large front-end codebase where consistency across many contributors matters more than framework flexibilitynot Preact
  • An organisation that wants routing, forms, HTTP and build tooling supported and versioned together by one maintainernot Preact
  • A team already using TypeScript across its stack and wanting a framework designed around it rather than adapted to itnot Preact

Preact

  • Embedded widgets that load inside someone else’s page and must stay smallnot Angular
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Angular
  • Applications targeting low-bandwidth or low-powered devicesnot Angular

Where do Angular and Preact fall short?

Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Angular

  • This entry is filed under enterprise resource planning, which it is not, so anyone reaching it while comparing business systems has been sent to a developer framework and should discount the category placement entirely
  • Major versions ship on a roughly twice yearly cadence with a limited support window each, so an application that is not updated regularly falls out of support and the eventual catch-up spans several versions at once
  • The framework carries more concepts than its alternatives, including dependency injection, reactive streams and its change detection model, so new developers take longer to become productive and the hiring pool is smaller than for the most popular alternative
  • It is a heavier framework than the minimal alternatives, so for a small marketing site or a simple interactive page it imposes structure and payload that the project does not need
  • The AngularJS to Angular transition was a rewrite rather than an upgrade, and the shared name still causes confusion in search results, documentation and job specifications years later

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

How much do Angular and Preact cost?

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

Angular

Free
  • Open source (MIT-style licence)Free

Preact

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

Which should you pick?

Choose Angular if

  • You need typescript first.
  • You want to start without paying.
  • You also want command line tooling.

Choose Preact if

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

Questions people ask

Is Angular or Preact better?
It depends on the job. Angular fits a long-lived internal business application maintained by a rotating team that benefits from a single enforced structure; Preact fits embedded widgets that load inside someone else’s page and must stay small. Angular starts at Free and Preact at Free.
Which is cheaper, Angular or Preact?
Angular starts at Free and Preact at Free.
Does Angular or Preact run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Angular for free?
Both have a free tier, so you can try either at no cost before committing.
What is Angular best used for?
Angular is most often used for a long-lived internal business application maintained by a rotating team that benefits from a single enforced structure, a large front-end codebase where consistency across many contributors matters more than framework flexibility, an organisation that wants routing, forms, http and build tooling supported and versioned together by one maintainer, a team already using typescript across its stack and wanting a framework designed around it rather than adapted to it. Of those, a long-lived internal business application maintained by a rotating team that benefits from a single enforced structure and a large front-end codebase where consistency across many contributors matters more than framework flexibility are not what Preact is typically brought in for.
What can Angular do that Preact cannot?
Angular covers TypeScript first, Command line tooling, Dependency injection, Router. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

Answered from the vendors’ own pages

Angular: Is Angular the same as AngularJS?

No. AngularJS is the earlier, separate framework and is no longer maintained. Angular was a rewrite with a different architecture, so material about one rarely applies to the other despite the shared name.

Preact: Is Preact free?

Yes, open source under the MIT licence.

Angular: Why choose Angular over the alternatives?

Because routing, forms, HTTP, testing and build tooling come from one maintainer and are versioned together. That consistency pays off on large, long-lived applications with changing teams and pays off very little on small ones.

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.

Angular: What is the maintenance commitment?

Plan on regularly applying major version updates. The tooling automates much of it, but leaving an application unupdated for several release cycles turns a routine task into a project.

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