Skip to content
Compare

hast-util-to-jsx-runtime vs preact-markup

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

Native PreactMaintenance mode
hast-util-to-jsx-runtime

Transforms HAST syntax trees into Preact VNodes through the automatic JSX runtime.

npmhast-util-to-jsx-runtime
Category
Developer Tools
Compatibility
Native Preact
Maintenance
Maintenance mode
Runtime
TypeScriptSSRNo islandsESM
Verified
Not yet verified
Tested with
Not documented
License
MIT
Bundle size
Not documented
Limitations
  • Framework-neutral transformer rather than a Preact component library; callers must provide the correct JSX runtime and handle untrusted-tree policies.
  • ESM-only and requires Node.js 16 or newer; custom components and MDX expressions require additional configuration.
Score
Directory score74/100
Compatibility35/35
Maintenance16/20
TypeScript8/10
SSR10/10
Islands0/10
ESM5/5
Verification0/10
View hast-util-to-jsx-runtime profile
Native PreactActive
preact-markup

Utility for rendering markup in Preact-oriented workflows.

npmpreact-markup
Category
SSR and Rendering
Compatibility
Native Preact
Maintenance
Active
Runtime
No TSSSRNo islandsESM
Verified
Not yet verified
Tested with
Not documented
License
Unknown
Bundle size
Not documented
Score
Directory score70/100
Compatibility35/35
Maintenance20/20
TypeScript0/10
SSR10/10
Islands0/10
ESM5/5
Verification0/10
View preact-markup profile

At a glance

Attributehast-util-to-jsx-runtimepreact-markup
CompatibilityNative PreactNative Preact
MaintenanceMaintenance modeActive
TypeScriptBundled typesNo TypeScript
SSRSSR supportedSSR supported
IslandsNoNo
Last verifiedNot yet verifiedNot yet verified
AI auditNot auditedNot audited