blog/angular-trpc #12
Replies: 3 comments
-
|
Great article! tRCP seems to become an overarching hype in many frontend communities ... It's a bit off-topic: How would you go into production with tRCP?
Do you have any hints or experiences concerning putting tRCP in production? |
Beta Was this translation helpful? Give feedback.
-
|
I'd suggest using defer instead of fromPromise to wrap the trpc client calls. This way, the request to the API will be made once we actually subscribe to the Observable that is being created which is also what the Observables returned by the HttpClient would do. Example (hint: look at the logs): |
Beta Was this translation helpful? Give feedback.
-
|
Hi, could you possibly do an updatee on this article from 2023? Considering there has been a lot of improvements over the years on angular ssr. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
blog/angular-trpc
Maximum type safety across the entire stack. How to setup a fullstack app with Angular and tRPC.
https://angularexperts.io/blog/angular-trpc
Beta Was this translation helpful? Give feedback.
All reactions