Skip to content

Conversation

@GamerGirlandCo
Copy link
Collaborator

This component lets you pass in a component reference as a prop, rendering that component with its own managed state + dispatch. Eliminates the need to pass dispatch everywhere.

An example of it in action:

<dc.ControlledEditable<T>
            props={editorProps}
            sourcePath={dc.currentPath()}
            content={item}
            editor={dc.TextEditor}
            onUpdate={onUpdate}
            defaultRender={<Lit value={item}/>}
        />

@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch 5 times, most recently from e911f69 to 1fe1271 Compare April 27, 2025 20:22
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch 12 times, most recently from 09d12fa to f8d6a81 Compare May 10, 2025 05:29
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch from f8d6a81 to 48faaa3 Compare May 23, 2025 18:00
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch 3 times, most recently from 48faaa3 to c1ebfb4 Compare June 18, 2025 00:13
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch 9 times, most recently from 380c763 to ac3ca90 Compare June 30, 2025 00:21
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch from 7c1f318 to 1566e4f Compare January 23, 2026 01:38
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch from 1566e4f to d32a39a Compare February 2, 2026 00:58
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch from d32a39a to abb91b0 Compare February 5, 2026 04:07
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch from abb91b0 to 205ec27 Compare February 5, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant