Skip to content

OpenComponents Preact Compiler

npmoc-template-preact-compiler

Compiler for building Preact components in the OpenComponents template system.

Native PreactActive
Verdict

Native Preact

Built for Preact and does not require a React compatibility layer.

Overview

`oc-template-preact-compiler` is the compiler module for OpenComponents entries that use the `oc-template-preact` template. It connects the OC compilation lifecycle to Preact and Vite and re-exports the matching template API.