redux-electron-store
redux-electron-store copied to clipboard
The example in the README is impossible because of IPC
In your README, you suggest following code. But when registering these renderers with the main process, you send the filter using IPC to the main process. The filter can also contain functions, but IPC doesn't work with functions.
Should we remove it and add a breaking
change? it didn't work anyway.
// Note: The Lodash library is being used here as _
let filter = {
notifications: true,
settings: {
notifyPosition: true
},
teams: (teams) => {
return _.mapValues(teams, (team) => {
return {icons: true};
});
}
};```