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
Add the ability to do something like:
const switchValues = lens.updateFieldValues(state => ({ prop1: state.prop2, prop2: state.prop1 }))
Currently, this can be achieved with: (which is not that bad, really...)
const switchValues = lens.update(state => ({ ...state, prop1: state.prop2, prop2: state.prop1 }))
The text was updated successfully, but these errors were encountered:
65a77ff
No branches or pull requests
Add the ability to do something like:
Currently, this can be achieved with: (which is not that bad, really...)
The text was updated successfully, but these errors were encountered: