AA16123Apr 19, 2018
Redux-thunk dispatch an action and wait for re-render
const disabled = (state = true, action) => { return action.type === "TOGGLE" ? !state : state; }; class Button extends React.Component { render() { const { props } = this; console.log("rendering", props.value); return ( <div> ...
HSebastian commented










