#SIGTERM hook/teardown logic
14 messages · Page 1 of 1 (latest)
you mean "where would I install that event handler"?
Yes, basically.
would do it in server.ts (on the alpha branch)
Hm, is there any chance to get a pointer to the repo? I checked the alpha branch and all the examples, but I didn't find an indicator on how to use the server.ts.
we have not documented this yet
but you can have a look at https://github.com/TanStack/router/blob/alpha/e2e/react-start/basic/src/server.ts
I see, thanks for the pointer, @blissful drift
The alpha branch is all about migrating away from Nitro and Vinxi, right? How close is it to being promoted to beta?
Sounds good. I'm a little hesitant to switch to the alpha in our production app, though. On the other hand, we really need the possibility for some teardown logic. Are there any hard breaking changes that I need to take into account when using the alpha?