Skip to content

Umbrella: New Devtools API #5306

@jimfb

Description

@jimfb

As per conversation with @sebmarkbage, it would be cool if React emitted events that allowed any attached devtools to listen for relevant events occurring in the core. The emitted events could be just descriptive enough that devtools could track whatever internal state it wants. For instance, a devtool could track perf by seeing how long various operations are taking (marked by start and end of the operation). Or a devtool could emit useful warnings (all our core warnings could be rolled into a devtools module/package, and by tracking state internally we could avoid routing the only-useful-for-warnings data throughout the core).

Anyway, the following are relevant:

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