Skip to content

Consider using Ky to make our fetch examples better/more understandable #134

@essential-randomness

Description

@essential-randomness

KY ("a tiny and elegant HTTP client based on the Fetch API") by sindresorhus literally just got a cool context API and a bunch of options around retries that are way more readable than the scary mess i suggest using at the bottom of this repo's README.

Since KY library is compatible with fetch, I suspect it would be trivial to pass it to setFetchers and give people a much easier and more understandable example of how to deal with timeouts retries etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    📖 documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions