Skip to content

Preact console

npm@zikojs/preact-console

Preact components that render console-style log, warning, and table output by mounting ZikoJS console elements in the page.

ExperimentalActive
Verdict

Experimental

Compatibility is possible but still being validated for production Preact use.

When to use it

Evidence level: source and npm review. PreactHub did not execute the component on Preact 10.27.x. Latest npm version checked: 0.5.2. Maintainer claimed native compatibility. Catalog status is experimental because output depends on the ZikoJS Preact wrapper rather than Preact VNodes.

Overview

`@zikojs/preact-console` exposes `Console.log`, `Console.info`, `Console.warn`, `Console.debug`, `Console.error`, and `Console.table` as Preact components. Each method forwards its children to `@zikojs/console` and mounts the result with `ZikoWrapper` from `@zikojs/preact`. The public API does not use `preact/compat`. The package is aimed at playgrounds, notebooks, documentation, and other in-app views that want console-like output in the page instead of the browser devtools console.