TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to have GraphQL in an offline only React Native application

2 pointsby yonzalmost 3 years ago
I am driving myself crazy trying to find a combination that will allow me to setup an offline react native app with a graph database.<p>Tick off the common suggestions:<p>1- No this is not for state management (Redux, Redux-persist)<p>2- I don&#x27;t want to use sqlite or any other relational setup<p>3- I don&#x27;t want to use serialize then async store<p>Now that we have those out of the way realm DB is promising but it requires the app to use the db in single thread mode, doesn&#x27;t support dynamic schema changes and outside of realm-orm I don&#x27;t see anywhere where I can type it to TS<p>Apollo client with persistence seems promising but I am concerned that this is a caching solution not a first class offline support.<p>Actualbudget (a local first app) is doing sqlite3 (table storage) and CDRTs message queue for eventual consistency. I am curious how anytype.io is storing their graph at the edge.<p>The short pitch is: imagine if you had a structured graph of your personal data (private &amp; synchronized offline), we would be able to build tons of cross silo solutions. My first use case is to identify low frequency NERs so that i can have a personalized RSS reader.

2 comments

graphclimbalmost 3 years ago
Are you trying to solve for offline graphql calling or are you trying to find a graph database that can be put into a native app?<p><a href="https:&#x2F;&#x2F;bit.ly&#x2F;3vjhfBR" rel="nofollow">https:&#x2F;&#x2F;bit.ly&#x2F;3vjhfBR</a>
hemantvalmost 3 years ago
Can&#x27;t you mock the network layer? That should do the trick.<p>What&#x27;s front-end library you are using to query graphql
评论 #32090008 未加载