Option to hide Internal types in tree #1001
Description
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:
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 :)