Closed JaKXz closed 7 years ago
Hi @JaKXz, thank you for contributing.
To be honest, I don't see much value in this change.
IE8 doesn't support Maps, which is not an issue for me but as a developer I would rather expect to get an Object, rather than Map from API. I assume that many folks are also using some kind of Immutable stuff for many good reasons and they are expecting to get an Object.
Also, library is doing very simple thing: converting JSON API document to the redux-friendly storage formant. As we are almost always middleware, I doubt that library consumer will get any benefits of using Maps over JS Objects.
Meanwhile, I will leave this open for some time. Maybe, there would be other opinions or use-cases, which didn't come to my mind.
@yury-dymov thanks for this library, it's pretty great :)
I'm just curious what you think of this change. It's pretty simple: instead of plain objects, I suggest using JS Maps, because they provide many features and improvements... I am open to feedback & looking forward to your thoughts.