react-redux-fetch
Version:
A declarative and customizable way to fetch data for React components and manage that data in the Redux state
10 lines (8 loc) • 345 B
JavaScript
exports.__esModule = true;
var fetchIsFulfilled = function fetchIsFulfilled(prevProps, nextProps, resource) {
return prevProps[resource + "Fetch"] && nextProps[resource + "Fetch"] && prevProps[resource + "Fetch"].pending && nextProps[resource + "Fetch"].fulfilled;
};
exports.default = {
fetchIsFulfilled: fetchIsFulfilled
};
;