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
43 stars 22 forks source link

docs(readme): update sequenced api example #70

Closed code-forger closed 1 year ago

code-forger commented 1 year ago

Motivation and Context

The sequenced api example resulted in multiple calls from the 'second' api in the sequence, these api calls were malformed, as the input required from the 'first' api in the sequence was not available yet.

How Has This Been Tested?

Locally in a module

Types of Changes

Checklist:

What is the Impact to Developers Using Fetchye?

Improved example on how to call sequenced api calls

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 6b944f0e3dce3dd6aa7970c90073089fc02ebdee:

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