Git Product home page Git Product logo

Comments (10)

liubiggun avatar liubiggun commented on May 21, 2024 28

Are there any new developments about integration with realm?

from redux-persist.

fungilation avatar fungilation commented on May 21, 2024 5

Interesting. If no one tackle this in a month or 3 I will, when I think my app will need a secondary local offline storage other than Firebase I'm using currently (which does offline but it's a blackbox regarding the persistence, and I want redux fulltext search capability at some point)

from redux-persist.

rt2zz avatar rt2zz commented on May 21, 2024 3

note redux-persist v5 now has a simpler / more flexible storage model. It also no longer requires getAllKeys, so I think a realm storage engine would be trivial aside from the need to write a well defined schema.

Just three methods required: setItem, getItem, removeItem

from redux-persist.

fungilation avatar fungilation commented on May 21, 2024 2

Sorry no, my priorities have changed. For those interested in similar use case, I'll likely go with Apollo with https://github.com/apollographql/apollo-cache-persist instead. (which shares code with redux-persist according to their README?)

from redux-persist.

rt2zz avatar rt2zz commented on May 21, 2024

That would be great. I have not used realm but the project looks exciting.

Does realm require schemas are defined up front?

from redux-persist.

fungilation avatar fungilation commented on May 21, 2024

Afaik it's an object store. Like mongo but with a nicer querying interface.
And obviously go beyond just key value store. So I'm thinking this
integration would be useful as a drop in for getting the data in initially,
while allowing for a powerful querying interface via Realm for alternate
views not directly backed by redux.
On Sat, Apr 30, 2016 at 10:13 AM Zack Story [email protected]
wrote:

That would be great. I have not used realm but the project looks exciting.

Does realm require schemas are defined up front?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#83 (comment)

from redux-persist.

JulianKingman avatar JulianKingman commented on May 21, 2024

FYI - Realm requires a schema, so you'd have to know the data structures that you want to persist.

from redux-persist.

kennethpdev avatar kennethpdev commented on May 21, 2024

any progress?

from redux-persist.

Selman555 avatar Selman555 commented on May 21, 2024

Just passing by from google, I really hope there will be a way to ditch AsyncStorage.
As far as my understanding goes, a "universal" scheme would have to exist. Otherwise there will have to be a lot of cleaning going on to keep things tidy and small in size.
This accepted answer convinced me to keep using redux-persist

from redux-persist.

aguynamedben avatar aguynamedben commented on May 21, 2024

@fungilation Would you still be willing to take a shot at implementing this? I was going to mark this issue as stale and close it, but it has a ton of upvotes (10 upvotes on the original question, 23 upvotes on a comment asking if there are any updates). It seems a lot of people would like to use Realm.js with redux-persist.

from redux-persist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.