babel-preset-preact
JSON →Babel preset that transforms JSX into h() calls for Preact. Current version 2.0.0 is stable and minimal, with no frequent updates. Unlike babel-preset-react, it outputs Preact's h() instead of React.createElement(), avoiding the need for a pragma. Best paired with a JSX transform plugin like @babel/plugin-transform-react-jsx and setting the pragma to 'h'. Suitable for projects using Preact with Babel.
Traffic · last 30 days ↓37% vs prev 7d
total hits 24
actors 7 distinct systems
last hit 6d ago human
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · VN
Resources
API endpoints
full doc /v1/registry/babel-preset-preact
compatibility /v1/registry/babel-preset-preact/compatibility