Skip to content

UseInfiniteQuery fetchNextPage() methos doesn't work on <script> #123

@shoaibsharif

Description

@shoaibsharif

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions