tRPC React - why the useState hook?
Hey. I've been following the docs for setting up tRPC for a React based project. I noted in the docs that they recommend wrapping the tRPC client into a
useState(). Could someone explain why?