I am using react, redux persist, and redux-starter-kit.
My server is returning data like the following :
'key1':'value1'
'key2':'value2'
'key3':'value3'
}
The problem is, I setup those value as Map in the states, but redux is totally ignoring those value because they are not serializable. (or returning an object and not a map)
I am ok with storing a plain object, but I would like to know if there is a way to add an interface for this kind of object. If I use a type object, it will be to generic, I would like to store something like object
Is this possible ?
I want