Add action to postfetch function params
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 493
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
We already get request options in the function, but I am wanting to retry an action if the fetch fails. If we had the action in the postfetch I could just dispatch the action again.
Is there a different way to retry an action if it fails?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the postfetch function and how request options are passed through the fetch-failure flow. Review the existing action dispatch behavior before deciding whether the action belongs in postfetch or retrying should use another mechanism. Done means the retry behavior is defined and covered for failed fetches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100