Comments (9)
Our transform for redux config needs to be brought up to date. This is from the ReduxPersist 2 days.
from ignite-andross.
@skellock - Do you think we should be using https://github.com/rt2zz/redux-persist-immutable ???
@vincejah - can you give this a go and let us know if it works? https://github.com/rt2zz/redux-persist-transform-immutable
from ignite-andross.
That one is for Immutable.js I think. But ya, we’d need the seamless-immutable version of that.
from ignite-andross.
i get this without an second combineReducers too
from ignite-andross.
This seems related to this issue and it appears this line that is causing it. As @skellock speculated, this seems unnecessary as of this merge request. Commenting out L29 in ImmutablePersistenceTransform seems to resolve the issue.
UPDATE: made a pull request to remove the line
from ignite-andross.
Thx @heyjared !
from ignite-andross.
How do i persist specific properties of the reducer? For example I have a login reducer which has properties such as username, password, employee_number. In this case I want to persist just the employee_number and not the username and password. Is this possible? If yes then can you please post an example?
from ignite-andross.
If you only want to persist certain parts I suggest 2 methods.
1 - Move just those parts to a separate reducer that is rehydrated.
2 - Store them yourself with Async storage
^ plenty of examples of that in the docs, and it comes free with RN
from ignite-andross.
@GantMan Redux persist gives the ability to blacklist nested state properties
When this is implemented, it breaks the app
from ignite-andross.
Related Issues (20)
- Check the render method of 'NavigatorReduxWrapper'. HOT 6
- RN60+ issue for Andross project HOT 4
- Example gives cannot read property 'includes' of undefined HOT 2
- AndroidManifest merger error on run HOT 9
- Crash after upgrade to 0.61 HOT 1
- Andross is not actual - problem with andoidx
- [Bug] Can not Create new Project on Windows 10 HOT 8
- Command failed : gradlew.bat app:installDebug. when run react-native run-android HOT 4
- console.tron.log is undefined HOT 9
- TypeError: undefined is not an object (evaluating '_reactNavigation.ThemeColors.light') HOT 27
- failed to add React Native 0.61.4 HOT 1
- Problem with storyBook
- Error Occured while running npx react-native run-android command
- Error: `createStackNavigator()` has been moved to `react-navigation-stack`. HOT 2
- currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput
- How to ingnite-andross use TypeScript when init project?
- Add config option to remove Redux Navigation
- Errors while running `npx react-native run-ios`. Afte resolving errors, Andross rendering correctly on Android, but not on iOS
- generate list didnt show any option
- APIs are not called in background - ios
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 ignite-andross.