great tutorial mate, i had no idea that you could do something like that in GraphQL! my question is, say you have a ton of languages being returned from the query in which cases you'll most likely load and render them in chunks using a pagination component or whatsoever, but what if you wanna show a skeletonComponent or spinner whenever you wanna load the next chunk of languages and take advantage of the { loading } property returned from the useQuery hook - that would usually force the entire page to load while in my case i'd only want the pagination component to load. would using fragments help with this? ;D
There maaaay be a way, but I think in that case it might be better to just have that as a separate independent query. As long as you're using the HTTP Batch link, it can hopefully make the 2 queries within the same HTTP request, so won't hurt your performance too much.
I like these videos Leigh
Thanks for the nice tutorial man
No problem! Glad you enjoyed it Mounir!
great tutorial mate, i had no idea that you could do something like that in GraphQL!
my question is, say you have a ton of languages being returned from the query in which cases you'll most likely load and render them in chunks using a pagination component or whatsoever, but what if you wanna show a skeletonComponent or spinner whenever you wanna load the next chunk of languages and take advantage of the { loading } property returned from the useQuery hook - that would usually force the entire page to load while in my case i'd only want the pagination component to load. would using fragments help with this? ;D
There maaaay be a way, but I think in that case it might be better to just have that as a separate independent query. As long as you're using the HTTP Batch link, it can hopefully make the 2 queries within the same HTTP request, so won't hurt your performance too much.
Why do so many tutorials not use TypeScript. If you are using GraphQL it's almost a given that you will use TS.
I guess you haven't record the typescript video yet since there is no link in the description
Don't think I got around to that one, sorry Morteza!
@@leighhalliday Never mind. I know you'll do it if you find a chance :)
great
Thank you Lee!!
How about the performance?
I haven't noticed any performance issues, but I haven't done any empirical testing either!