redux-electron-store icon indicating copy to clipboard operation
redux-electron-store copied to clipboard

The example in the README is impossible because of IPC

Open sneljo1 opened this issue 4 years ago • 0 comments

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 breakingchange? 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};
    });
  }
};```

sneljo1 avatar Feb 26 '20 18:02 sneljo1