Skip to content

Remove @electron/remote #650

Closed
Closed

Description

@bmulholland

Usage of @electron/remote is discouraged

We can replace it with inter-process communication fairly easily, just need to do it piece by piece.

Activity

  1. added
    dependency
    refactor
    on Jan 19, 2024
  2. setchy commented on Apr 3, 2024

    @setchy
    Member

    @bmulholland - would you mind confirming that this can be closed. I did a search and couldn't find any references to remote from the electron package directly. All seem to have been migrated to @electron/remote (thank you kindly)

  3. bmulholland commented on Apr 3, 2024

    @bmulholland
    CollaboratorAuthor

    All seem to have been migrated to @electron/remote

    That's the package that is discouraged and shouldn't be used. From the linked article, about @electron/remote itself:

    ⚠️ Warning! This module has many subtle pitfalls. There is almost always a better way to accomplish your task than using this module. For example, ipcRenderer.invoke can serve many common use cases.

  4. setchy commented on Apr 3, 2024

    @setchy
    Member

    Oops! I misread it. I focused on this comment but missed the warning. Thanks for the correction 🙇

    @electron/remote is a replacement for the built-in remote module in Electron, which is deprecated and will eventually be removed.

  5. added 2 commits that reference this issue on Jun 10, 2024
  6. added
    priority:high
    on Jun 17, 2024
  7. changed the title [-]Remove @electron/remote[/-] [+]refactor to use context bridge for x-communication[/+] on Jan 29, 2025
  8. changed the title [-]refactor to use context bridge for x-communication[/-] [+]Remove @electron/remote[/+] on Jan 29, 2025
  9. setchy commented on Jan 29, 2025

    @setchy
    Member

    @electron/remote no longer used #1781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencypriority:highrefactor

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions