Frameworks

Domscribe provides first-class integrations for popular frontend frameworks. Each integration includes build-time AST transformation for stable data-ds attributes and runtime adapters for deep context capture (props, state, component trees).

Supported Frameworks

FrameworkVersionsPackageGuide
React18 - 19@domscribe/reactReact Guide
Vue3+@domscribe/vueVue Guide
Next.js15 - 16@domscribe/nextNext.js Guide
Nuxt3+@domscribe/nuxtNuxt Guide

Bundler Support

All framework integrations work with the following bundlers:

BundlerVersions
Vite5 - 7
Webpack5
TurbopackLatest (via Next.js)

The Next.js integration supports both Webpack and Turbopack automatically through the withDomscribe() config wrapper. React and Vue integrations ship separate Vite and Webpack plugin exports.

Base Transform Package

If you are using a framework that does not have a dedicated integration, you can use @domscribe/transform directly. This gives you DOM-to-source mapping via data-ds attributes but without runtime context capture (no props or state extraction).

npm install -D @domscribe/transform

See the React or Vue guides for examples of Vite and Webpack plugin configuration patterns that apply to the base transform package as well.

Custom Adapters

Domscribe's runtime is built on an extensible FrameworkAdapter interface. You can add support for any component-based framework -- Svelte, Angular, Solid, Lit, or your own.

See the Custom Adapters guide for the full interface specification, a minimal example, and implementation guidelines.