I'm a junior developer. I was tasked to build a desktop app in electron that would use ReactJS as frontend-framework.
The app contains images that can be manipulated (cropped, drawn on,...) and then saves a base64-string of the manipulated image into the redux state (and in firebase realtime database).
The last feature I need to include, and this is where I'm hitting a brick wall, is to make sure the user can select images on screen and then drag and drop them out of the app into a web-environment. The problem is that I do not have the slightest clue where to start.
I came across this: https://electronjs.org/docs/tutorial/native-file-drag-drop which explains how to include dragging and dropping an image in the electron-specific main process, but since all my app logic is written in the react-application, I have no clue how to add this to the project.