Open sanchezcarlosjr opened 3 weeks ago
Hey @sanchezcarlosjr, thank you for explaining the issue here! 🙏 Did you encounter this issue while working with React Native or is there any other platform that has issues with parsing those lines? 🤔
Thank you for your answer, @aliemir. I'm working with traditional React web apps, and Refine works as expected. The issue only occurs in React Native as far as I know.
Describe the bug
Hello, @aliemir published the PR https://github.com/refinedev/refine/pull/5992 and it works. However, esbuild doesn't compile as expected. The compiler doesn't generate correctly as you write here https://github.com/refinedev/refine/blob/4654353b90b6a09cbf65e41d4c1fa82553a2a3fa/packages/devtools-internal/src/use-query-subscription.tsx#L13 So, instead of
it generates
Steps To Reproduce
Expected behavior
The below expression
must be something similar to
Probably adding a noop function helps.
Packages
Additional Context
No response