About
tRPC-SWR is a React library that makes it easy to fetch data from your backend and keep it in sync with your frontend. It's built on top of SWR (opens in a new tab) and tRPC (opens in a new tab).
It was first created by Sachin Raja (opens in a new tab) to add support for SWR
in the tRPC ecosystem. Once tRPC v10 was released, a new RFC was created by Sanna Jammeh (opens in a new tab) to rewrite the library from scratch to better align with the new tRPC v10 API.