Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

A few questions coming from urql #23

Open
frederikhors opened this issue Feb 5, 2022 · 1 comment
Open

A few questions coming from urql #23

frederikhors opened this issue Feb 5, 2022 · 1 comment

Comments

@frederikhors
Copy link

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!

@leveluptuts leveluptuts deleted a comment from jycouet Jun 21, 2022
@stolinski
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants