---
title: "#ctx articles | Hashnode"
description: "Explore 1 articles tagged #ctx on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/ctx"
---

Tag

# #ctx

1 posts · 0 followers

[Ramu Narasinga](https://hashnode.com/@ramunarasinga) · [Dec 10, 2024](https://hashnode.com/posts/how-the-userid-is-added-to-the-trpc-ctx-in-lobechat-source-code/6757f6ff69e082d946d1366b)

### [How the userId is added to the tRPC ctx in LobeChat source code?](https://thinkthroo.com/blog/how-the-userid-is-added-to-the-trpc-ctx-in-lobechat-source-code?utm_source=hashnode&utm_medium=feed)

In this article, we analyse how the currently logged-in userId is added to the tRPC ctx by reviewing LobeChat source code. I recommend reading this tRPC setup to relate to the concepts explained in this article. But before that, I want to explain how...

3 min read · [thinkthroo.com](https://thinkthroo.com/blog/how-the-userid-is-added-to-the-trpc-ctx-in-lobechat-source-code?utm_source=hashnode&utm_medium=feed)
