We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Really should be considered. Think about undo / redo stacks too.
push()
insertAfter()
.pipe(name('hello'))
Probably requires sharedMeta to store whatever focus id is needed to be remembered.
sharedMeta
Should it require the dev to explicitly say when they want focus shifted e.g. when push() is called?
Should it go:
onFocus
onBlur
spread()
changeRequest.originId
Make change methods return something, where a callback can be passed? how can this tell other rendered fields to do things?
The text was updated successfully, but these errors were encountered:
Could do the "push" thing with a modifier. Wouldnt work with history because its temporal:
things.toArray((thing) => { return <div key={thing.key}> <input {...thing.spread()} ref={(node) => thing.meta.isNew && node.focus()} /> </div>; }) parcel.pipe(isNew()) .modifyDown(asNode(node => { return node.setMeta({ isNew: !('isNew' in node.meta) }); }))
Sorry, something went wrong.
No branches or pull requests
Really should be considered. Think about undo / redo stacks too.
Keeping track of focus
push()
,insertAfter()
etc as there are no rendered elements at that time? Or can some clever hooks solve this?.pipe(name('hello'))
to get a unique id for rendered fieldsProbably requires
sharedMeta
to store whatever focus id is needed to be remembered.Should it require the dev to explicitly say when they want focus shifted e.g. when
push()
is called?Binding
Should it go:
onFocus
andonBlur
to inputs, maybe as part ofspread()
changeRequest.originId
already exists, so this could be used.after(callback)
Make change methods return something, where a callback can be passed? how can this tell other rendered fields to do things?
The text was updated successfully, but these errors were encountered: