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-react
branch
2 times, most recently
from
August 11, 2026 04:00
dcbc40f to
9ee992c
Compare
cowboyd
force-pushed
the
tree-react
branch
2 times, most recently
from
August 22, 2026 05:24
5f2a9b6 to
7074da1
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.
React brings the architecture to the largest JS component ecosystem and completes the initial framework story. A custom React reconciler maps Fiber’s mutation host configuration directly onto the same Host operations already exercised by raw code, Solid, and Preact. Because focus, input, events, layout, invalidation, terminal rendering, and cleanup already belong to lower layers, the React package can remain focused on reconciliation instead of becoming a second TUI implementation.
Mounting into an arbitrary attached Host element makes React composable rather than exclusive: an application can use React for one subtree, another framework elsewhere, or raw Host operations alongside both. Typed lowercase
box,text, andinputelements preserve familiar JSX andonInputconventions while deriving their actual properties from the framework-neutral element registry.This PR adds
@clack/ui-react, a synchronous mutation-mode React reconciler, typed JSX intrinsic elements, and root mounting and unmounting. React instance, text, property, event, ordering, and removal operations are translated into Host mutations, with an optional commit hook available to consumers. It also adds the React version of the Hello World example.