While running through one of Redux's tutorials, I ran across this warning: "Redux actions and state should only contain plain JS values like objects, arrays, and primitives. Don't put class instances, functions, or other non-serializable values into Redux!"
Does this mean that an array of class instances shouldn't be held in redux? For example, say I have a Chat app. Say I have a Conversation class that holds an array of participants, array of messages, an id, etc. Can I add to redux an array of Conversation instances?
If not, why? Should a React application's data model not rely much on classes and inheritance?