The redux docs state "actions can be serialized, logged or stored and later replayed." When I looked up serialize I learned that it meant an object is converted into bytes so it can be stored persistently. If that's the case then what does it mean to store an object?
An object that defines how to be stored as a primitive type (like a string or a number or a boolean) is serializable. Primitives are stored. The action of serialization consist in the transformation of an object into a storable object (generally string numbers bytes boolean): Component -≥ object Json -> string and numbers -> store
Cheers 🍻 !
Brad Pearson
Not a rock star
I think in this case he intends serialization to mean the transformation of an action to a medium that can be sent to another system or application. An action can be serialized into JSON and then returned as an object to another system or application that can then read it, and use it. In this case it's temporarily stored as a JSON object, but for the purposes of communication.
Storing it for later means just that. Write it to an object and persist it somewhere. Local storage in the browser or an object based DB or wherever. Then you can read it back later and use it. Both can be powerful techniques.