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
linkState
linkState in Preact is useful (https://preactjs.com/guide/linked-state).
Planning to implement it in inject helper.
inject
It just like:
app.model({ namespace: 'form', observable: observable({ username: '', password: '' }) }) const Form = inject(({ models }) => { return ( <div> <input type='text' onInput={linkState(models.form.username)} /> <input type='password' onInput={linkState(models.form.password)} /> </div> ) })
The text was updated successfully, but these errors were encountered:
djyde
No branches or pull requests
linkState
in Preact is useful (https://preactjs.com/guide/linked-state).Planning to implement it in
inject
helper.It just like:
The text was updated successfully, but these errors were encountered: