K1|ller
tRPC, NextJS 14, createTRPCProxyClient, How can I globally manage errors?
Well I manage everything from the main layout file, usually, I haven't found anything better, this for Vite or Next. This allows me to centralize the app a bit (besides redux). You can also use redux and have a error state or something, there are many ways to globally manage errors.
22 replies