Ramu Narasinga·Aug 16, 2024Use degit to download a template in your CLI tool.I found a file named “degit” in the Remotion source code. Remotion helps you make videos programatically.
Ramu Narasinga·Aug 9, 2024Supabase uses Valtio for its state managementAs I was reading the Supabase source code for “fun”, I came across a package named Valtio.
Ramu Narasinga·Aug 7, 2024Comparing 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.
Ramu Narasinga·Aug 2, 2024Shimmer 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…
Ramu Narasinga·Aug 1, 2024Function overload in TypeScriptWhen working with TypeScript, you may encounter situations where a function needs to handle different types of input while maintaining type…
Ramu Narasinga·Jul 31, 2024Convert 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…
InDev GeniusbyRamu Narasinga·Jul 30, 2024Comparison 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.
Ramu Narasinga·Jul 29, 2024Cache your fetcher in useSWR with useCallback.I found a way that caches the fetcher in useSWR using useCallback in the Gitroom source code.
Ramu Narasinga·Jul 26, 2024Using 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.
Ramu Narasinga·Jul 19, 2024shadcn-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.