Query builder #517
Replies: 3 comments 2 replies
-
Here is the first iteration: https://codesandbox.io/s/peaceful-archimedes-lh1i0?file=/src/index.ts Question: how to abort a request? |
Beta Was this translation helpful? Give feedback.
-
Check this out https://github.com/vercel/swr/releases/tag/1.1.0 Also, SWR handles conditional fetching so I maybe we should not allow nested queries, instead, we should force flat structure. Instead of this:
we can do this:
|
Beta Was this translation helpful? Give feedback.
-
Something like
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal:
Beta Was this translation helpful? Give feedback.
All reactions