Hello, I was recommended to use TanStack as a "data fetching" library to be used in react rather than use the useEffect hook to fetch data from my database.
I have some questions. Why is it recommended to use TanStack to do such thing rather than do everything from scratch? What are the benefits it provides please... would really appreciate if someone can give a contrast between a code not using TanStack vs one using it.
Also, I notice that TanStack has a lot of "things" like router etc, currently I'm using react-router, I was wondering which properties should I use to use TanStack as a "data fetching" library pls.
Finally, would really appreciate if someone can share me any docs related on how to get started with TanStack :c