Should I use tanstack query

I am building an app, and I am getting data from an API. I like the separation of concerns logic, so I get the data with an async function in a separate service file. Normally, with vite react, I build a custom hook called useData with tanstack, and handle all kind of data logic in it. But since now I am using a framework, I don't know how I feel about using random tools, instead of built in framework tools, or logic. This is my first next.js app, and I am so undecided Right now I am using using the server components, but I don't like what I see. But I also don't want to convert the entire app into a huge client component. I don't know I am just confused and I need help.