Ramu NarasingaSupabase uses Valtio for its state managementAs I was reading the Supabase source code for “fun”, I came across a package named Valtio.21h ago21h ago
Ramu NarasingaComparing the copyToClipboard implementations in Shadcn-ui/ui and Codehike.In this article, we will compare the Copy button code between Shadcn-ui/ui and Codehike.2d ago2d ago
Ramu NarasingaShimmer effect in Card when you load Supabase dashboard.When loading a dashboard, especially one as feature-rich as Supabase’s, it’s essential to provide visual feedback to users indicating that…Aug 2Aug 2
Ramu NarasingaFunction overload in TypeScriptWhen working with TypeScript, you may encounter situations where a function needs to handle different types of input while maintaining type…Aug 1Aug 1
Ramu NarasingaConvert a string to camelCase using this function in Javascript.Ever needed to convert a string to camelCase? I found an interesting code snippet while exploring the open-source Supabase repository…Jul 31Jul 31
Ramu NarasingainDev GeniusComparison of file and component structures among Shadcn-ui, Plane.so and Gitroom.In this article, we will look at folder structures in Shadcn-ui, Plane.so and Gitroom used to organise a Next.js project.Jul 30Jul 30
Ramu NarasingaCache your fetcher in useSWR with useCallback.I found a way that caches the fetcher in useSWR using useCallback in the Gitroom source code.Jul 29Jul 29
Ramu NarasingaUsing a custom backend server with Next.js in a monorepo.I was searching for an open source repository that schedules and posts on social media. I found Gitroom.Jul 26Jul 26
Ramu Narasingatsup to bundle your TypeScript packageAre you building a TypeScript library but not sure how to bundle it? I recommend tsup.Jul 23Jul 23
Ramu Narasingashadcn-ui/ui codebase analysis: How does shadcn-ui CLI work? — Part 3.1I wanted to find out how shadcn-ui CLI works. In this article, I discuss the code used to build the shadcn-ui/ui CLI.Jul 19Jul 19