@selkirk-systems/fetch
v1.7.0
Published
Abortable fetch library
Downloads
115
Readme
Fetch
Abortable Fetch Library
Usage
import { Fetch } from "@selkirk-systems/fetch";
export const fetchAgreementsByFiscalYear = ( year ) => {
dispatch( FETCH_AGREEMENTS );
return Fetch( AGREEMENTS_LOOKUP_BY_FISCAL_YEAR_URL( { fiscalYear: year } ) ).then( respondWith( FETCHED_AGREEMENTS ) );
}