Conversation
|
I think that this should be sorted out in a more generic way, since there is a lack of support for ImmutableJS too (see #51). The Map from ES6 has method Edit: I am sorry, there is actually just |
|
I agree that the copy/paste was a quick hack and the common functionality should be pulled out. However, Map is a built-in object and sufficiently different from Object or Array to be special cased. |
|
Yeah, I guess that Map is different, but it's pretty much same as Map from Immutable. There is problem that you can have basically anything in your key, so it cannot be displayed easily in a tree view. Map can be more likely seen as a list of entries with keys and values. |
|
Can we somehow use iterators + |
|
@gaearon Yeah, I think that might be a good way. The result is in both cases identical (https://jsbin.com/pirura/edit?js,console). And actually |
|
Should be fixed in 1.1.0, please verify. |
I use Map() in my state for ordered lists and would like to inspect them.