Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the root loader is not working as expected #5549

Closed
3 tasks done
massimopalmieri opened this issue Aug 9, 2022 · 2 comments
Closed
3 tasks done

the root loader is not working as expected #5549

massimopalmieri opened this issue Aug 9, 2022 · 2 comments
Labels
Package: remix Issues related to the Sentry Remix SDK Type: Bug

Comments

@massimopalmieri
Copy link

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/remix

SDK Version

7.9.0

Framework Version

1.6.7

Link to Sentry event

No response

Steps to Reproduce

  • define a loader in root.tsx and return some data, for example return json({ok: true})
  • define a root component, for example App and use the useLoaderData hook to access the data from the loader

Expected Result

the data returned by useLoaderData in the root component should be the same data returned in the loader
({ok: true})

Actual Result

the data returned by useLoaderData looks like this:

{
  'sentry-trace': 'xxxxxx,
  'baggage': 'xxxxxx'
}

and the actual data that is sent from the loader is lost

@AbhiPrasad
Copy link
Member

Duplicate of #5539, will be fixed by #5539! We'll be releasing the fix in the next 1-2 days! cc @onurtemizkan

@AbhiPrasad AbhiPrasad closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2022
@massimopalmieri
Copy link
Author

thanks @AbhiPrasad! didn't realise that was the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: remix Issues related to the Sentry Remix SDK Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants