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.

Option to hide Internal types in tree #1001

Closed
@jquense

Description

@jquense

With 16.3 there are a lot more "plumbing" types like Mode, Context, ForwardRef, etc. and as folks migrate to the new API's I think we'll see tree depth balloon, especially around Context, where (I think) the tendency will be to make lots of small ContextProviders, rather than large pass-a-big-object-bag down Providers, because it's easier to mange updates and context value equality.

This is what i'm starting to see from react-bootstrap as we try out the new apis:

image

It'd be great if there was a toggle to hide these types, and maybe make it the default? I realize that seeing them is helpful in many contexts but for most folks this is plumbing of the libraries they use, it's not super important in that case that they always be visible, though the option is needed.

I'd be happy to try and take a swing at this if there is any agreement on adding it :)

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