How to configure same React app for web and electron?


I have a question for you. We will use same React app for both web and Electron at the same time. What is the best practice to integrate Sentry to both? Currently, sentry-react works well for web but I want to capture native Electron crashes and distinguish Electron errors / crashes from the web errors. Thanks for your help.