Skip to content

DevTools: Uninitialized context is displayed as an empty object #16679

Closed
@micnic

Description

@micnic

When inspecting a component that is missing context it is displayed as an empty object, meanwhile if the state is not initialized it is not displayed at all, for no props it is displayed the string None. In my humble opinion it is misleading that no context is displayed as an empty object.

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