Skip to content
Compare

ufbr vs preact-router

Side-by-side compatibility, runtime support and editorial notes for Preact projects.

Native PreactActive
ufbr

Client-side file-based router for Vite, with a first-party Preact adapter.

npmufbr
Category
Routing
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptNo SSRNo islandsESM
Verified
November 14, 2026
Tested with
Preact 10.27.x
License
MIT
Bundle size
Not documented
Limitations
  • Route discovery depends on Vite import.meta.glob.
  • The Preact adapter renders into a DOM node and does not document server rendering or hydration.
  • preact is imported by ufbr/preact but is not declared as a peer dependency.
  • The routing engine comes from the ziko package.
Score
Directory score78/100
Compatibility35/35
Maintenance20/20
TypeScript8/10
SSR0/10
Islands0/10
ESM5/5
Verification10/10
View ufbr profile
Native PreactActive
preact-router

Lightweight router for classic Preact single-page applications.

npmpreact-router
Category
Routing
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptNo SSRNo islandsESM
Verified
Not yet verified
Tested with
Not documented
License
MIT
Bundle size
Not documented
Score
Directory score70/100
Compatibility35/35
Maintenance20/20
TypeScript10/10
SSR0/10
Islands0/10
ESM5/5
Verification0/10
View preact-router profile

At a glance

Attributeufbrpreact-router
CompatibilityNative PreactNative Preact
MaintenanceActiveActive
TypeScriptBundled typesNative TypeScript
SSRSSR unsupportedSSR unsupported
IslandsNoNo
Last verifiedNovember 14, 2026Not yet verified
AI auditNot auditedNot audited