Skip to content

Sentry Remix Causes Remix defer to fail in @remix-run/node@1.11.0 #6883

@rubber-duck-software

Description

@rubber-duck-software

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/angular

SDK Version

7.31.1

Framework Version

Remix 1.11.0

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Use deferred data loading in Remix@1.11.0. The output shape when calling useLoaderData will be changed. (The data is under the "data" key instead of being the return value)

Expected Result

useLoaderData should return what was passed to defer

Actual Result

useLoaderData returns what was passed to defer wrapped in an object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: remixIssues related to the Sentry Remix SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions