@selkirk-systems/fetch
v1.8.1
Published
Abortable fetch library
Downloads
191
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 ) );
}