Best practice for supporting frontend and backend errors within the same application

I have a Rails backend with a React/Typescript frontend. What’s the best way to organize Sentry for this app? Should I have 2 projects, 1 for Rails and 1 for Javascript and configure 2 DSNs? or would I be able to disambiguate the two with just 1 project?