I have been trying to use UseInfiniteQuery method in <script setup> butt I just keep getting error
Uncaught TypeError: fetchNextPage is not a function
Live Demo: https://stackblitz.com/edit/vitejs-vite-yx2juo?file=src%2FApp.vue&terminal=dev
Note: I also am not able to use other variables as well, but I can use them inside the DOM. I don't think this is something we are expecting?