ReactJS Import Electron

const electron = window.require('electron');
const ipcRenderer  = electron.ipcRenderer;
Nutty Narwhal