Render content returned from an API in child window electron react application

97 Views Asked by At

I have an electron react application, the scenario I’m unable to get it to work is, on the main window, on clicking a button, I want to call the main process which makes a gRPC call to an external server, gets data back and renders the data in a child window.

I’m able to do this on the same window and it works fine, but I can’t wrap my head around on how to take the data that the main process returns and render a react component in a new window using the returned data.

0

There are 0 best solutions below