Softwr

Web Development · head to head

Preact vs Val Town

Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes
Val Town logo

Val Town

Software Development

Cloud platform for writing and deploying small serverless TypeScript scripts

From
Free
Free plan
Yes

The short version

  • Preact is free; Val Town starts at $21/mo.
  • 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 Val Town falls short: Val Town announced on 10 November 2026 that it is winding down and shutting down on 10 January 2027.

How do Preact and Val Town differ?

Preact and Val Town differ on pricing model and category. Only the attributes on which Preact and Val Town actually diverge.

Attributes where Preact and Val Town differ
AttributePreactVal Town
Pricing modelOpen source, no licence feeFreemium
CategoryWeb DevelopmentSoftware Development

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

Which features does each one have?

They share no listed features; 4 appear 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 Preact

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

Only in Val Town

Nothing recorded that Preact does not also cover.

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; Val Town for alert systems - Send Slack notifications when significant deals close. 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 Val Town
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Val Town
  • Applications targeting low-bandwidth or low-powered devicesnot Val Town

Val Town

  • Alert systems - Send Slack notifications when significant deals closenot Preact
  • Webhook handling - Receive and process webhooks with instant deploymentnot Preact
  • Scheduled automation - Run crons and automated tasks on a set schedulenot Preact
  • Quick experiments - Build and host prototype projects instantlynot Preact
  • API development - Create and deploy APIs without infrastructure setupnot Preact

Where do Preact and Val Town fall short?

Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. Val Town's: Val Town announced on 10 November 2026 that it is winding down and shutting down on 10 January 2027. 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

Val Town

  • The free tier limits scheduled crons to 15 minute intervals and functions to a 1 minute wall clock time per run; only the $21 per month Pro tier reduces the cron interval to 1 minute, as of August 2026
  • Val Town announced on 10 November 2026 that it is winding down and shutting down on 10 January 2027
  • The Business plan starts from 167 USD a month and the Enterprise plan is custom priced, so collaboration features are not cheap

How much do Preact and Val Town cost?

Preact is free to use; Val Town has a free plan, with paid plans from $21/mo. Plan by plan below, from each vendor's own pricing page.

Preact

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

Val Town

Free
  • FreeFree
    • Unlimited public vals
    • 100,000 runs per day
    • 15-minute cron intervals
  • Pro$21/mo
    • $10 monthly AI credits
    • 1-minute cron intervals
    • 2,000 private vals
  • Business$167/mo
    • All Pro features
    • $100 AI credits
    • Unlimited custom domains
  • EnterpriseOn request
    • Flexible AI credits
    • No core feature limits
    • Log export

Which should you pick?

Choose Preact if

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

Choose Val Town if

  • You want to start without paying.

Questions people ask

Is Preact or Val Town better?
It depends on the job. Preact fits embedded widgets that load inside someone else’s page and must stay small; Val Town fits alert systems - Send Slack notifications when significant deals close. Preact starts at Free and Val Town at Free.
Which is cheaper, Preact or Val Town?
Preact starts at Free and Val Town at Free.
Does Preact or Val Town run on more platforms?
Both run on Web, so platform support will not decide this one for you.
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 Val Town is typically brought in for.
What can Preact do that Val Town cannot?
Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

Answered from the vendors’ own pages

Preact: Is Preact free?

Yes, open source under the MIT licence.

Val Town: How much does Val Town cost?

Val Town offers a free tier with 100,000 runs per day. Pro costs $21 per month with 1 million runs daily. Business starts at $167 per month with 5 million daily runs. Enterprise plans with custom pricing are available for advanced needs.

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.

Val Town: Is there a free plan?

Yes. The free tier includes unlimited public vals, 100,000 runs per day, 15-minute cron intervals, and 3-day log retention with no payment required.

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.

Val Town: What's the difference between Pro and Business plans?

Pro includes $10 monthly AI credits, 1-minute cron intervals, 2,000 private vals, and 1 million runs per day at $21/month. Business adds $100 AI credits, unlimited custom domains, 5 million daily runs, and team accounts for $167/month.

Source
Share

Related pages

Other head to heads