Comments (10)
Are there any new developments about integration with realm?
from redux-persist.
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.
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.
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.
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.
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.
FYI - Realm requires a schema, so you'd have to know the data structures that you want to persist.
from redux-persist.
any progress?
from redux-persist.
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.
@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)
- Do you support persist bigint when serialize? HOT 3
- Importing PersistGate results in compilation error HOT 1
- Jest snapshot is always created as null in react native
- Persist not working after page reload or refresh HOT 3
- failed to preserved initial state value at rehydrate
- PersistGate in SSR applications rendering app twice when using React v18 HOT 3
- Documentation for Migration is unnecessary complicated. HOT 1
- Getting got unexpected undefined error while changing redux state HOT 1
- getting error: A non-serializable value was detected in an action HOT 5
- createStore() is old
- Clear Redux Persist Data on App uninstall in IOS React Native HOT 1
- Support for Redux v5 and RTK v2 HOT 10
- state is null HOT 1
- data migration security and automatization
- Redux persist not working with RN 0.73 HOT 10
- Move project to new repo? HOT 13
- redux-persist failed to create sync storage. falling back to noop storage | Next js HOT 3
- Vitest - The slice reducer for key "reducer name" returned undefined during initialization
- Option to disable storage creation error for dynamic stores
- storage.getItem is not a function (it is undefined) - RN 0.73.4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-persist.