Repository navigation
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
More templates
commit: |
cowboyd
marked this pull request as draft
August 7, 2026 14:34
cowboyd
force-pushed
the
tree-preact
branch
2 times, most recently
from
August 11, 2026 04:27
9d87a66 to
ad4a376
Compare
cowboyd
force-pushed
the
tree-preact
branch
2 times, most recently
from
August 23, 2026 17:28
f258057 to
f4b8887
Compare
cowboyd
force-pushed
the
tree-preact
branch
from
September 18, 2026 21:15
f4b8887 to
39d775c
Compare
cowboyd
force-pushed
the
tree-preact
branch
from
September 24, 2026 14:00
39d775c to
afb5c8e
Compare
Contributor
Author
|
closing out in favor of a DOM based substrate. See #37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preact expects a compact DOM-shaped mutation surface, which presents a different integration challenge from Solid’s universal renderer. A small facade can satisfy those expectations by translating document, element, text, attribute, sibling, and listener operations into the Host contract. This validates that Bombshell can meet a framework where it is without leaking DOM assumptions into the core UI.
Like the Solid adapter, a Preact root mounts into an existing attached Host element and owns only reconciliation. Its JSX element types are derived from the same open
HostElementsmap, so built-in and third-party elements retain framework-appropriate children, refs, keys, and event names without duplicating their core property definitions.This PR adds
@clack/ui-preact, including a minimal DOM-shaped facade over Host mutations, typed JSX intrinsic elements, and root mounting and unmounting. It adapts properties, text, movement, removal, and event listener identity without adding Preact-specific behavior to@clack/ui. It also adds the equivalent Preact Hello World example.