-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
driver / form / helpers #284
Labels
Comments
import { matchForm } from '@k-ramel/driver-form'
when(matchForm(<name>))(reaction) const reaction = (action, store, { form }) => {
const values = form.getUpdatedValues(action)
} const reaction = (action, store, { form }) => {
const fields = form.getUpdatedFieldNames(action)
} |
waiting for #283 |
I can't write
when((action, store, drivers) => drivers.form.match('myForm'))(reaction) I don't know if this is worth because write now we are doing: when(/@@form\/.*/, ({ payload }) => payload['@@form-name'] === 'myForm')(reaction) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add helpers to not rewrite the
key
(default is@@form-
) :The text was updated successfully, but these errors were encountered: