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.

Cannot expand Sets in state viewer #435

@mnpenner

Description

@mnpenner

When I click the little arrow beside a Set in the state viewer, it does not expand like with other objects and arrays.

I've created a fiddle, but I can't figure out how to open React Dev Tools there. Here's a raw gist that demonstrates the problem.

var Hello = React.createClass({
  getInitialState: function() {
    return {items: new Set([1,2,3])};
  },

  render: function() {
    return <div>{'{' + Array.from(this.state.items).join(',') + '}'}</div>;
  }
});

ReactDOM.render(
  <Hello name="World" />,
  document.getElementById('container')
);

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions