Skip to content

withSentry not longer accepts the same params as per docs in @sentry/remix #15883

Closed
@muchisx

Description

@muchisx

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/remix

SDK Version

"@sentry/remix": "^9.10.0" - "@sentry/vite-plugin": "^3.2.3",

Framework Version

"@remix-run/react": "^2.16.2",

Link to Sentry event

No response

Reproduction Example/SDK Setup

// See ts error here

export default withSentry(App, {

// here
// Object literal may only specify known properties, and 'wrapWithErrorBoundary' does not exist in type 'UseEffect'.
wrapWithErrorBoundary: true,
errorBoundaryOptions: {
fallback: ErrorBoundary,
},
});

Steps to Reproduce

Install version of package mentionned

Follow these docs
https://docs.sentry.io/platforms/javascript/guides/remix/manual-setup/#remix-errorboundary

Expected Result

Either the docs should be updated or the params back to the original from the docs

Actual Result

// Object literal may only specify known properties, and 'wrapWithErrorBoundary' does not exist in type 'UseEffect'.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions