Skip to content
Compare

Storybook for Preact with Vite vs Preact Testing Library

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

Native PreactActive
Storybook for Preact with Vite

Storybook framework for developing, documenting and testing Preact components in isolation with Vite.

npm@storybook/preact-vite
Category
Developer Tools
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptNo SSRNo islandsESM
Verified
November 5, 2026
Tested with
Not documented
License
MIT
Bundle size
Not documented
Limitations
  • Targets Preact projects built with Vite.
  • Storybook builds a separate component workshop; it does not verify application SSR behavior by itself.
  • Addons should be checked for renderer-specific React assumptions.
Score
Directory score83/100
Compatibility35/35
Maintenance20/20
TypeScript10/10
SSR3/10
Islands0/10
ESM5/5
Verification10/10
View Storybook for Preact with Vite profile
Native PreactActive
Preact Testing Library

Testing Library integration focused on user-centric testing for Preact components.

npm@testing-library/preact
Category
Testing
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptNo SSRIslandsESM
Verified
Not yet verified
Tested with
Not documented
License
MIT
Bundle size
Not documented
Score
Directory score80/100
Compatibility35/35
Maintenance20/20
TypeScript10/10
SSR0/10
Islands10/10
ESM5/5
Verification0/10
View Preact Testing Library profile

At a glance

AttributeStorybook for Preact with VitePreact Testing Library
CompatibilityNative PreactNative Preact
MaintenanceActiveActive
TypeScriptNative TypeScriptNative TypeScript
SSRSSR unknownSSR unsupported
IslandsNoYes
Last verifiedNovember 5, 2026Not yet verified
AI auditNot auditedNot audited