Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Description
With the most-recent @sentry/nextjs
update, typescript reports withProfiler
(and related) as a missing dependency. I realize it's because it doesn't get exported from the server-side package. But that makes me wonder how exactly it should be used with the nextjs stack.
My intuition is to alternate between the real profiler on the client and a pass-through HOC/component on the server. Is this the right direction? Is there documentation anywhere on the profiler + SSR?