Best practices for implementing an offline application - tRPC