title: How to import ipcRenderer in react?
body: <p>I've tried to import ipcRenderer in react app</p>
  
  <pre><code>import {ipcRenderer} from 'electron';
  </code></pre>
  
  <p>but I get this error message : require is not defined</p>