Skip to content
Library
Editors

ProseMirror Adapter for Preact

npm@prosemirror-adapter/preact

Preact adapter for rendering ProseMirror node views and plugin views with Preact components and hooks.

Native PreactActive
Verdict

Native Preact

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

When to use it

Evidence level: documented. Latest npm version checked: 0.5.6. The repository provides a dedicated Preact package and StackBlitz-linked Preact example.

Overview

`@prosemirror-adapter/preact` connects ProseMirror node, mark, plugin and widget views to Preact components. It provides Preact-specific providers, factory hooks and context hooks around the ProseMirror view lifecycle.