4 ms·
I can’t tell you how many electron projects I’ve seen where “nodeIntegration” is explicitly turned on.
by catlifeonmars 4y ago
I can’t tell you how many electron projects I’ve seen where “nodeIntegration” is explicitly turned on.
- jupp0r 4y agoHaving worked on an electron app for several years I can tell you that that's really just laziness by respective dev teams. It's not pretty to use contextBridge and IPC, it just requires some extra work. Electron itself did a great job making this easier and easier over the years.
- ticviking 4y agoHaving worked as a developer for several years I can tell you that you should never underestimate both the time pressure our professional peers are under and their laziness. If I can hit the deadline by sitting that bool true, vs spend a week learning a new tech while I have 4 other "Critical" tickets in queue. I'll probably set the bool to true and so penance for it later.
- jupp0r 4y agoYeah, it's a sad reality. Thankfully the market is good enough that we have the chance to choose a job where we can make these decisions ourselves and live up to a higher standard.