Xavier
Xavier
TtRPC
Created by Xavier on 1/9/2025 in #❓-help
How to handle consistency for client-side only APIs?
Hi, we are using tRPC as a BFF (Backend for Frontend) which act as a proxy between ou UI and our dozen of backend services. What's the recommended approach to handle direct client-side API calls when they cannot be implemented with tRPC due to legacy limitations? Should we use React Query directly, or is there a way to extend tRPC's router in the client-side to maintain consistent API handling? PS: For better understanding, we'd like to add client-side procedures because we need to calls APIs that can only be called in a browser
15 replies