gQuery icon indicating copy to clipboard operation
gQuery copied to clipboard

A few questions coming from urql

Open frederikhors opened this issue 3 years ago • 1 comments

I'm relly excited for this new project.

I'm using https://github.com/FormidableLabs/urql currently and the svelte integration is still not perfect (they are React developers).

I'm wondering what I can miss switching to this library: I'll try in the next days.

First, two questions:

  1. Can we have a normalized cache (like https://formidable.com/open-source/urql/docs/graphcache/)? I think is not strictly needed for normal apps (they have also the https://formidable.com/open-source/urql/docs/basics/document-caching/ simple cache in fact).

  2. Can we persist cache in browser (localstorage or indexeddb)? I think the normalized cache is useful here because we can save using ID and Typename.

Thanks again for your work!

frederikhors avatar Feb 05 '22 16:02 frederikhors

I'm relly excited for this new project.

I'm using https://github.com/FormidableLabs/urql currently and the svelte integration is still not perfect (they are React developers).

I'm wondering what I can miss switching to this library: I'll try in the next days.

First, two questions:

  1. Can we have a normalized cache (like https://formidable.com/open-source/urql/docs/graphcache/)? I think is not strictly needed for normal apps (they have also the https://formidable.com/open-source/urql/docs/basics/document-caching/ simple cache in fact).

  2. Can we persist cache in browser (localstorage or indexeddb)? I think the normalized cache is useful here because we can save using ID and Typename.

Thanks again for your work!

Persistant cache coming but there are no plans for a normalized central cache.

stolinski avatar Jun 21 '22 18:06 stolinski