Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Followup Work for Iterable Support #608

@gaearon

Description

@gaearon

@cmmcleod sent an amazing PR for supporting iterables (including Immutable.js) in #459.

There’s a few remaining things which would be nice to investigate:

  • We should provide a way to “load more” if there are too many items in the iterable. The arbitrary 100 item limit is a bit confusing.
  • It shouldn’t be possible to edit things inside key-value pairs. Currently editing a fake “array” of key and value throws.
  • Perhaps we can format key-value pairs differently? I know we bikeshedded on this in Support Iterators/Iterables, Immutable, other inspector improvements #459 but I wonder if all that’s necessary is to replace an array-like display with a dedicated “Key:” and “Value:” labels, and maybe change “Array” in this case to “Iterable” or something like that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions