couzic / lenrix

Type-safe, reactive, focusable redux store wrapper
MIT License
24 stars 1 forks source link

Store.updateFieldValues() #7

Closed couzic closed 6 years ago

couzic commented 6 years ago

Add the ability to do something like:

store.updateFieldValues(state => ({
   prop1: state.prop2,
   prop2: state.prop1
}))

Requires lenrix #4 to be solved first