I’m having trouble with integrating react to electron! I wanna know the right way to do it. As it has to go into production
i have tried just initializing an app
npm init and add amain.js and index.html, and when the basic electron is up and running, the added an src for react files and a webpack.config
basically followed a youtube video
and i also tried
making a react app with cra first and using concurrently and wait on to render in electron app which didn't seem like a good approach (I want to build this app for production later on)
this second approach didn't work for me btw
now im trying out
using npm init electron-app@latest my-new-app -- --template=webpack
and edit the webpack.config to accept6 jsx and react