Skip to content

Component tree and Prop display width not adjustable #483

Open
@ashthomasweb

Description

@ashthomasweb

With the devtools open and Preact brought up, the tree/props pane can't be adjusted for width/horizontally - for instance making the props pane the wider of the two.

In general I find the props pane to require more space on the screen to display all of the information, especially when working with large or nested state objects.

I see that the corresponding react-devtools the component tree and props pane's vertical divider are adjustable. I find this an essential element to parsing through the app's state.

I haven't yet explored the actual codebase, but I understand there are scenarios where the styling couldn't easily support a mouse-drag adjustment. If that is the case, perhaps a simple setting would suffice. Something like a 'Tree:Props display ratio'.

Thank you so much for the wonderful tool - I use it everyday at work for NOAA. Many of our apps and tools are built with Preact, in case you did not know! Currently porting the ENOW Explorer from old Angular to a modern Preact with useContext/useReducer setup.

Ashley Thomas

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