Two things in this release:
-
New action
clearErrorsFor
was introduced:import { clearErrorsFor } from '@foxcomm/wings'; class Foo extends Component { componentDidMount() { this.props.fetchProducts(); this.props.fetchTags(); } componentWillUnmount() { this.props.dispatch(clearErrorsFor('fetchProducts', 'fetchTags')); } } export default connect()(Foo);
-
Fixed
failed
action, now it doesn't depend on payload reducer for your async action.