Sentry with SSR

I have a React application and using SSR. Is there any way I can use a single sentry interface to send errors when the app is run either on the server or on the client? (like @sentry/nextjs)