You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sentry Remix Causes Remix defer to fail in @remix-run/node@1.11.0 #6883
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.
Thanks for the quick response. Glad you guys are tracking this. Quick note on the nature of the issue: Here Sentry.init actually changes the behavior of Remix in a breaking way (I presume there is monkey patching or something involved). The issue is not that Remix 1.11.0 breaks Sentry, but rather Sentry breaks Remix 1.11.0.
This might be the same issue that I opened on Remix earlier this week (remix-run/remix#5211). If so, it's not related to Sentry (my reproduction was not using Sentry at all).
Activity
lforst commentedon Jan 20, 2023
Hi, since the 1.11.0 Remix release is quite new we have to check for compatibility so stay tuned! We're tracking it here: #6888
rubber-duck-software commentedon Jan 20, 2023
Thanks for the quick response. Glad you guys are tracking this. Quick note on the nature of the issue: Here Sentry.init actually changes the behavior of Remix in a breaking way (I presume there is monkey patching or something involved). The issue is not that Remix 1.11.0 breaks Sentry, but rather Sentry breaks Remix 1.11.0.
dmarkow commentedon Jan 26, 2023
This might be the same issue that I opened on Remix earlier this week (remix-run/remix#5211). If so, it's not related to Sentry (my reproduction was not using Sentry at all).
HazAT commentedon Feb 13, 2023
Related: #6888
dwene commentedon May 12, 2023
I believe I am also running into this issue.
Remix 1.15.0
Latest @sentry/remix
dwene commentedon May 12, 2023
I was able to reproduce the issue here:
https://codesandbox.io/p/sandbox/pensive-lederberg-hq4i4k?file=%2Fapp%2Froot.tsx%3A20%2C14-20%2C20