I have following state
`{ bluerain: {
intl: {
locale: 'en',
rtl: false,
messages: {
en:{},
ur:{},
ch:{},
}
}
}`
I have used redux-persist-transform-filter to ignore "messages" object while storing state in localstorage, initially messages are stored in initial state of redux store but due to shallow merge mesages in my initial store are not merged with that of localstorage state. Any suggestions so that my messages object will not stored in localstorage but I get messages from initial state in my store after autoRehydrate
options:
hardSet, shallowMerge, deepMerge, mergeLevel2. Not 100% on the naming but thats the idea.Can you please elaborate how to add reducer because after adding reducer new object with reducer name is created in the state and it have state from the local storage in that reducer and state updation of "intl" object in the above state is not affected by my reducer.
Isn't there a way we can write our own reconcilers or mention merge levels in configuration.
Most helpful comment
options:
hardSet, shallowMerge, deepMerge, mergeLevel2. Not 100% on the naming but thats the idea.