Today we enabled the reactComponentAnnotation in our nextjs application, to find out that we got a bunch of errors from our Headless UI components.
After spending some time I found this PR: https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/611
Stating that either not using fragments or skipping the annotation. However, I'm missing an example on how to disable for example:
"Headless.ListboxOption"
I used this array: ignoredComponents: ["Headless.ListboxOption", "Headless.CloseButton", "Radio", "ComboboxOption"],
As the code is: <Headless.ListboxOption as={Fragment} {...props}>
But I still get the fragment error/problem. Any clue how to ignore this component properly?