You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The primary use case of redux-namespace is transient data in forms. Validation of those values could done by defining a pipeline on that value or namespace.
The text was updated successfully, but these errors were encountered:
Touched is not specific to forms, it would be useful to the purpose of the library #3
An alternative api could provide methods to extend the namespace and how values are set.
import{connect,parameter,meta,pipe}form"redux-namespace";
@connect('someForm',meta('someValue','isValid',isEmail)// or perhapsmeta('someValue',{isValid: isEmail}),// or perhapspipe('validateEmail',isEmail))classSomeFormextendsComponent{render(){let{ select }=this.props;select('someValue|validateEmail');select('someValue@isValid')}}
The primary use case of redux-namespace is transient data in forms. Validation of those values could done by defining a pipeline on that value or namespace.
The text was updated successfully, but these errors were encountered: