Coder Social home page Coder Social logo

Comments (6)

dertieran avatar dertieran commented on May 31, 2024 3

Added an initial idea how to solve this in the PR above, but no sure about the solution.

More for you @sindresorhus I guess, you have 6 other repositories that also use remote

electron-is-dev is also required by electron-util itself.

Not sure if they all actually require remote to work or just to provide compatibility for the renderer process.
Maybe there is a general way to approach the deprecation of the build in remote module. 🤔

Happy to discuss this, because I personally also use two of them 😅 and would like to keep using them.
Not sure where the ideal place for this discussion is, so feel free to move this somewhere else.
(I already kind of split it between the PR and this issue 🙈)

from electron-util.

sindresorhus avatar sindresorhus commented on May 31, 2024

So electron-utils also needs to expose a initialize function?

That would probably be the simplest solution, yes.

An alternative would be to just not use the remote module anymore, but I guess that would be a big breaking change.

Yeah, that would be too much of a breaking change.

from electron-util.

dertieran avatar dertieran commented on May 31, 2024

Okay, will see if I can work on this in the coming days or over the holidays.

FYI: This also means that we would need to target electron 10.

NOTE: @electron/remote requires Electron 10 or higher.

So maybe #28 can then also be included after this.

from electron-util.

sindresorhus avatar sindresorhus commented on May 31, 2024

Okay, will see if I can work on this in the coming days or over the holidays.

Awesome :)

FYI: This also means that we would need to target electron 10.

Yeah, that's fine.

So maybe #28 can then also be included after this.

👍

from electron-util.

sindresorhus avatar sindresorhus commented on May 31, 2024

Feel free to use this issue for general discussions, and thanks again for the help.

from electron-util.

sindresorhus avatar sindresorhus commented on May 31, 2024

If anyone wants to work on this, see #37 as a starting point.

from electron-util.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.