Thank you for your feedback.

That's another way of doing things. I guess it depends on the size of the project.

For small to medium sized projects having a global setup for API calls might be overkill sometimes.

Also libraries like react-query can offer such values sometime that it will be unwise not to use them to their full potential.

And I am not sure if it will be possible with a Client object properly.

Passionate about Clean code and SOLID Architecture