Skip to content
Compare

SWC Plugin Prefresh vs Prefresh

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

Native PreactActive
SWC Plugin Prefresh

SWC plugin implementing Prefresh createContext memoization for Preact HMR.

npm@swc/plugin-prefresh
Category
Build Tools
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptNo SSRNo islandsESM
Verified
Not yet verified
Tested with
Not documented
License
Apache-2.0
Bundle size
Not documented
Limitations
  • Must be paired with SWC's built-in React Refresh transform (`jsc.transform.react.refresh`); this plugin only handles Prefresh-specific `createContext` memoization.
  • Major versions track SWC core releases; align plugin version with your `@swc/core` toolchain.
Score
Directory score70/100
Compatibility35/35
Maintenance20/20
TypeScript10/10
SSR0/10
Islands0/10
ESM5/5
Verification0/10
View SWC Plugin Prefresh profile
Native PreactActive
Prefresh

Fast refresh support for local Preact development workflows.

npm@prefresh/vite
Category
Developer Tools
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 Prefresh profile

At a glance

AttributeSWC Plugin PrefreshPrefresh
CompatibilityNative PreactNative Preact
MaintenanceActiveActive
TypeScriptNative TypeScriptNative TypeScript
SSRSSR unsupportedSSR unsupported
IslandsNoNo
Last verifiedNot yet verifiedNot yet verified
AI auditNot auditedNot audited