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.
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.