how do you handle api calls?

Do you have a pattern or something? fetch seems too bad. i have to add a base url, explicit seach params params and many more things. Im using react query but i still hate the way i do api calls. someone in our team said we should use RTK query. and it handles all the parts.
1 Reply
barry
barry2mo ago
rtk query, but you still need fetch
Want results from more Discord servers?
Add your server