americanexpress / fetchye

✨ If you know how to use Fetch, you know how to use Fetchye [fetch-yae]. Simple React Hooks, Centralized Cache, Infinitely Extensible.
Apache License 2.0
41 stars 21 forks source link

feat(signal): remove passed signal from defautlMapOptionsToKey #83

Closed dogpatch626 closed 1 year ago

dogpatch626 commented 1 year ago

Description

add support for abortController by allowing a signal to be passed as an option

Motivation and Context

How Has This Been Tested?

tested locally passing signal as options

Types of Changes

Checklist:

What is the Impact to Developers Using Fetchye?

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit aedde2442a8c970328d473fd5304b9977c027e6a:

Sandbox Source
quick-install Configuration
fetchye-provider-install Configuration
fetchye-redux-provider-install Configuration
nextjs-fetchye-ssr Configuration