tonyhb / redux-ui

Easy UI state management for react redux
636 stars 58 forks source link

Enable updateUI accept a updater function #56

Closed ryerh closed 7 years ago

ryerh commented 8 years ago

Life may get easier when this happens,

this.props.updateUI('username', v => v.toUpperCase());

And it's in this PR 🎉

tonyhb commented 8 years ago

Sweet!

mike623 commented 7 years ago

is this PR planning merge? i think it is good to have function

tonyhb commented 7 years ago

Going to carry this now that I've moved to yarn vs npm so that tests are reliable :)