Hydration library for code components

Created on 15 January 2025, about 1 month ago

Overview

To display the output of code components on a server-side rendered page, we need to create a hydration library, which the component source plugin (created in ✨ Create a ComponentSource plugin for JS components Active ) can attach.

Proposed resolution

Take the Astro island implementation (<astro-island> element) from ✨ [exploratory] PoC of Preact+Tailwind components editable via CodeMirror or Monaco Active and implement it as a Drupal library. Create a solution that bundles the JavaScript code we need from Astro based on comments #18, #19, and #21 in ✨ [exploratory] PoC of Preact+Tailwind components editable via CodeMirror or Monaco Active .

✨ Feature request
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024