Electron contextIsolation by default and safe Node API exposure
Electron 17+ enables context isolation by default, but migrating existing renderers requires refactoring direct Node.js access toward contextBridge. This post walks the configuration, a concrete exposure pattern, and how to verify the setup.