Title: Remix ReactDOMServer does not yet support Suspense · Issue #8200 · getsentry/sentry-javascript · GitHub
Open Graph Title: Remix ReactDOMServer does not yet support Suspense · Issue #8200 · getsentry/sentry-javascript
X Title: Remix ReactDOMServer does not yet support Suspense · Issue #8200 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8200
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remix ReactDOMServer does not yet support Suspense","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/remix\r\n\r\n### SDK Version\r\n\r\n7.53.0\r\n\r\n### Framework Version\r\n\r\nReact 17.0.2, Remix 1.16.0\r\n\r\n### Link to Sentry event\r\n\r\n\r\n### SDK Setup\r\n\r\nentry.server.tsx\r\n```typescript\r\nSentry.init({\r\n dsn: process.env.SENTRY_DSN,\r\n tracesSampleRate: 1.0,\r\n integrations: [new Sentry.Integrations.Prisma({ client: prisma })],\r\n environment: process.env.ENVIRONMENT_TYPE,\r\n});\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\n1. I add the `Sentry.init` to the entry.server.ts file\r\n2. I start the development server (this occurs in production also)\r\n3. I make a request to the development server from the browser\r\n\r\n### Expected Result\r\n\r\nI expect Sentry to not interfere with the request handler.\r\n\r\n### Actual Result\r\n\r\nI get this error when I make a request to the application: \r\n```\r\nError: ReactDOMServer does not yet support Suspense.\r\n at ReactDOMServerRenderer.read ({redacted}/node_modules/react-dom/cjs/react-dom-server.node.development.js:3704:25)\r\n at renderToString ({redacted}/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)\r\n at handleRequest ({redacted}/app/entry.server.tsx:48:5)\r\n at {redacted}/node_modules/@sentry/src/utils/instrumentServer.ts:136:1\r\n at handleDocumentRequestRR ({redacted}/node_modules/@remix-run/server-runtime/dist/server.js:186:18)\r\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\r\n at requestHandler ({redacted}/node_modules/@remix-run/server-runtime/dist/server.js:49:18)\r\n at {redacted}/node_modules/@sentry/src/utils/instrumentServer.ts:355:1\r\n at {redacted}/node_modules/@remix-run/express/dist/server.js:39:22\r\n```\r\nI am not using Suspense anywhere in the application.I am using Sentry in the client with no issues at all, but as soon as I add it to the server I get this error.\r\n\r\nI tried to turn on the Sentry Debug and got this warning at the same time so I wonder if it's related: \r\n`Sentry Logger [warn]: Remix SDK was unable to wrap your root because of one or more missing parameters.`\r\nThere is discussion about this particular warning here #6951, but they don't seem to be experiencing the Suspense error.\r\n\r\nAny help would be greatly appreciated.","author":{"url":"https://github.com/jamesgrogantech","@type":"Person","name":"jamesgrogantech"},"datePublished":"2023-05-24T10:49:37Z","url":"https://github.com/getsentry/sentry-javascript/issues/8200"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cda0db54-5625-0735-ba36-c841a8dbd922 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 998E:8F74F:68B2F1:9309A8:6B044C2E |
| html-safe-nonce | b769e511cd7a0128e84619f54409778a5b3519d0463a06e641140bcbe2d9f2d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OThFOjhGNzRGOjY4QjJGMTo5MzA5QTg6NkIwNDRDMkUiLCJ2aXNpdG9yX2lkIjoiMTU4NjA2NDczNjI1MTAzODc2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7df9628ccfe2263e72d11cd74ee86a4838ed7eea90b0677d90415cb293aa3313 |
| hovercard-subject-tag | issue:1723704809 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/8200/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0f3ea8bb751e8b00215cd5e96f0f87f14e117f33275be02ff7259da95e4e46df/getsentry/sentry-javascript/issues/8200 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0f3ea8bb751e8b00215cd5e96f0f87f14e117f33275be02ff7259da95e4e46df/getsentry/sentry-javascript/issues/8200 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jamesgrogantech |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width