Kobu
TTCTheo's Typesafe Cult
•Created by Kobu on 2/3/2024 in #questions
using @badrap/result with tRPCs results
![No description](https://cdn.answeroverflow.com/1203294564610220092/image.png)
2 replies
TTCTheo's Typesafe Cult
•Created by Kobu on 1/13/2024 in #questions
Keeping references to processes in nextjs
Hey, im trying the t3 stack and i have a quetions about nextjs in general.
So the issue is that on backend i spawn some processes that i need to keep the reference for. Currently i save it in the trpc context which is very handy for me. However this does have its limitations and probably is not even the intended usecase. For example in dev mode it seems that the context is refreshed when a page is newly compiled and the references to the processes are lost, in prod mode its works just fine. So I was wondering if there is a way to make the backend statefull. Thanks in advance
2 replies