shlogg · Early preview
Ramu Narasinga @karthik-m22

Configuring Metadata In Shadcn/ui Vs Lobechat

Shadcn/ui uses static metadata, while Lobechat uses dynamic metadata. Shadcn/ui configures metadata in a layout file with a static object, whereas Lobechat generates metadata dynamically using a function.

In this article, you will learn how metadata is configured in Lobechat and Shadcn/ui. This comparison shows two ways to configure your metadata, key difference here is that Shadcn/ui is a UI components provider. You don’t see any API calls made to the backend and you don’t find any database involved either. Lobechat, on the other hand, is our team’s favorite and is quite complex and a large project that has a database, uses tRPC to make API calls.
You will find out how the files and folders are used to configure metadata depending on the context, more on this in the later parts of this article...