@comity/html-preact
v0.9.0
Published
Preact module for server-rendered applications with Comity framework
Readme
@comity/html-preact
Preact renderers and layout helpers for @comity/html.
Purpose
Provides Preact-specific rendering entrypoints that adapt Preact components into the Comity HTML rendering model.
Scope
This package:
- ✅ renders Preact output through Comity HTML contracts
- ✅ exposes the
useLayouthelper - ✅ provides static and streaming renderer entrypoints
This package does NOT:
- ❌ load data from repositories
- ❌ define HTML document contracts
- ❌ implement application business rules
Public API
PreactStaticHtmlRendereruseLayout- Streaming renderer entrypoints (
@comity/html-preact/streaming)
No exhaustive reference; see docs for constraints.
Documentation
- docs/overview.md
- docs/conventions.md
Related Packages
- @comity/html
- @comity/http
Status
Stable
Review Completed: 2026-07-25 Reviewer: Hobiri MAGI (DeepSeek v4 Pro) Compliance Score: 99.5% (Green)
