Closed eMerzh closed 2 months ago
I'am on holiday, i will take a look next week:)
Enjoy your holidays π π΄ it's not a life-threatening issue ;-)
hi @eMerzh, I have the same behavior with useFragment
const paginated = isPaginated(router);
const scroll = isScroll(router);
useFragment(fragmentSpecs, userq);
i think this is fixed now :)
Hello :)
Thanks a lot for your project and your time maintaining this π I stumble upon a small issue, i was trying to type a usePagination i got.
The idea is that i do the
usePagination
directly after a useQuery, in the same component.It seems that it works like it should be if i do that in TS, the type doesn't let me do that (complain about null) This seems to be ok with useFragment though.
As an example, i've modified a bit the nextjs example of the repo π
here is there's an error with
but i can't set
usePagination<UserFragmentRefetchQuery, TodoList_user$key|null>
otherwise i got :
Thanks for the help :)