Nick Fitzgerald
unread,May 3, 2016, 10:44:03 AM5/3/16You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to James Long, J. Ryan Stinnett, Brian Grinstead, dev-developer-tools
With #1, you can also define helpers to make it similar to #2 from the
caller's side without doubling the number of reducers:
const enableThing = () => ({
type: UPDATE_BOOLEAN_THING,
value: true,
});
const disnableThing = () => ({
type: UPDATE_BOOLEAN_THING,
value: false,
});