The Wayback Machine - https://web.archive.org/web/20211128220604/https://github.com/topics/data-fetching
Skip to content
#

data-fetching

Here are 57 public repositories matching this topic...

swr
Daiz
Daiz commented Nov 27, 2019

The documentation for mutate talks about local mutation for faster feedback, but the documented way to use it only mutates after a promise has resolved - in other words, not immediately.

As a result, I've found myself writing code in this kind of pattern:

mutate(path, { ...data, patch }, false); // mutate immediately, don't revalidate
await patchData(patch); // await the 
aravindet
aravindet commented Nov 5, 2019

Primary goal: Add typings to the published NPM modules.
Secondary goal: Get type checks into the development workflow for Graffy itself.

The preferred approach is to use JSDoc-style function annotations (that TypeScript supports) rather than converting to Typescript syntax.

Improve this page

Add a description, image, and links to the data-fetching topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the data-fetching topic, visit your repo's landing page and select "manage topics."

Learn more