Invalid prop 'style' supplied to 'React.Fragment' triggered from notifyManager.js (55:19) #9504
Replies: 2 comments
-
we don’t add styles, react-query is a headless library. The stack trace points to |
Beta Was this translation helpful? Give feedback.
0 replies
-
@TkDodo Thanks for the clue, I was able to trace it back to the source. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing this issue related to
React.Fragment
, the issue is being traced back to notifyManager.js. However while trying to reproduce the issue for bug report in a separate RN app with same version of react-query and implementing useQuery, the issue does not appear.Invalid prop 'style' supplied to 'React.Fragment'
It's either some other function or option of react-query I am using that causing the issue, I need help to reproduce the issue so I may create a complete bug report with reproducible example, I only need some direction on the usage of notifyManager and how I can trigger it with exposed hooks or options of react-query
Another thing I would add, the warning only appears in React 19 and not showing in React 18, the react 19 release do reference some changes to the
React.Fragment
component.https://github.com/facebook/react/releases/tag/v19.0.0
My Environment
Beta Was this translation helpful? Give feedback.
All reactions