Thanks to visit codestin.com
Credit goes to github.com

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 7 times, most recently from 63e6de5 to 3c9999a Compare August 4, 2025 02:14
@GamerGirlandCo GamerGirlandCo force-pushed the feat/controlled-editable branch from 3c9999a to a945be1 Compare August 4, 2025 20:17
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.

2 participants