How to put methods onto the objects in Redux state?
In Redux, you don’t really have custom models. Your state should be plain objects (or Immutable records). They are not expected to have any custom methods. Instead of putting methods onto the models (e.g. TodoItem.rename) you are expected to write reducers that handle actions. That’s the whole point of Redux. // Manages single todo item … Read more