Is anyone familar with any projects that use react in multiple electron windows? Trying to find an example to learn from..
Ill try and explain for someone who may take the time to read
So right now Im running my main react app inside of the MainWindow after using react-scripts start and loading up
inside of my electron.js(main.js) I spawn the mainWindow.. Now inside of the main window I have an 'option' to spawn a new window... this new window should also have access to the react components but in its current state it does not..
both my 'index.html and my 'obs.html' are both located in the public folder.. index.html is in the root and obs.html is in a windows/obs/obs.html
When I try and access react components in the obs.html it complains about 'require is not defined'..
and so chatgpt says about balel and webpack but I cant find any info on this precisely so i think its making things up
I feel like since I already have index.html working with react why shouldnt this obs.html as well