Skip to content

React Devtools only appears after a reload #244

Open
@elvince

Description

@elvince

Important

This is an upstream issue, see electron/electron#41613


Hi all,

Thanks for the repo, it is quite straight forward to setup.

However, I can't get the tools to popup in the devtool page until I reload the main page.

If I await installExtension(REACT_DEVELOPER_TOOLS, true), the tools are not loaded at first launch, I need to reload them.
If I manually load them await session.defaultSession.loadExtension, evertyhing load fine from scratch.

Any idea how solve this?
Maybe a missing await in the installation process?
It seems to be a race condition.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions