electron js &

hey how can i connect to electron js and using React for front ?

12th Oct 2018, 8:10 AM
1 Answer
Build the frontend with React using create-react-app do some fetching to and you have a working frontend. However it is up to you to choose what to do next: either build the project and link it to electron via a script to link the nodejs stuff you need to your react frontend OR make the react frontend available online on a remote server and get the content using electron methods for displaying remote content. Always make sure you set the correct CORS methods and correctly secure your application also considering the electron best practices when doing so. I hope this helps you into the right direction.
10th Feb 2022, 5:22 PM
Leo - avatar