My Feed
Rixnew
Write
Create Team Blog
Let's kick off a fresh team blog! Bring on the crew and let's get to publishing.

What is the difference between serializable and non-serializable data?

Fernando Morris's photo
Fernando Morris
·Nov 6, 2016

I was reading Redux documentation, and this is what I read:

It is highly recommended that you only put plain serializable objects, arrays, and primitives into your store. It's technically possible to insert non-serializable items into the store, but doing so can break the ability to persist and rehydrate the contents of a store, as well as interfere with time-travel debugging.

I want to know when can an object be called serializable, and when not?