Ramu Narasingaramunarasinga.hashnode.dev·May 23, 2024“cn” utility function in shadcn-ui/ui:When I saw the cn function being imported from @/lib/utils in shadcn-ui/ui source code, I assumed that this function’s name is derived from “shadcn” since it contains “cn’’and that it handles some core logic but turns out, it is a wrapper on top of c...JavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.