Skip to content

nextjs v6.3.4 - How do you profile? #3488

Closed
@mikestopcontinues

Description

@mikestopcontinues

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions