PinnedFarnam HomayounfardinBits and PiecesHow to Write Unit Tests with React Testing Library in Next.jsA tutorial on writing unit tests with the React Testing Library in Next.js4 min read·Dec 16, 2022--1--1
Farnam HomayounfardinJavaScript in Plain EnglishHow to Create a React Hook for Detecting Device Information with TypeScriptIn this tutorial, we will walk through the process of creating a custom React Hook that allows you to detect and return various device…·4 min read·Apr 21, 2023--1--1
Farnam HomayounfardinJavaScript in Plain EnglishCreating Custom Hotkeys for Your Next.js App with TypeScriptAs a developer, you may have come across the need to create custom shortcuts or hotkeys for keyboard navigation in your web application…·3 min read·Mar 23, 2023--1--1
Farnam HomayounfardinJavaScript in Plain EnglishTranscribe Audio Files Using Whisper Open AI API in Next.js and TypeScriptTranscribing audio can be a time-consuming task, especially if you have to do it manually. However, with OpenAI’s new Whisper API, it’s now…·4 min read·Mar 3, 2023--2--2
Farnam HomayounfardinJavaScript in Plain EnglishThe benefits of using TypeScript with ReactReact is one of the most popular JavaScript libraries for building user interfaces. It provides a simple and intuitive way to build…·4 min read·Feb 7, 2023----
Farnam HomayounfardinJavaScript in Plain EnglishWorking with styled-components in the Next.jsStyled-components is a popular CSS-in-JS library that allows you to write component-based styling in your React projects. When combined…·3 min read·Feb 6, 2023--4--4
Farnam HomayounfardHow to create Grid Fibonacci Game in React with TypescriptI worked on a small challenge last year that was one of the hardest challenges I have worked on.5 min read·Jan 27, 2023----
Farnam HomayounfardHow to SSH to VPS using Public Key without a PasswordThe security of your Virtual Private Server (VPS) is essential to prevent unauthorized access to your data and applications. SSH (Secure…4 min read·Jan 20, 2023----
Farnam HomayounfardinBits and PiecesUsing Axios Interceptors for Custom Retry Request Handling in TypeScriptHow to use Axios interceptors for custom request handling in TypeScript.4 min read·Jan 17, 2023--1--1
Farnam HomayounfardHow to create a Telegram Bot with Gram jsTelegram is a popular messaging app that has a built-in bot platform. Telegram bots are third-party applications that run inside Telegram…5 min read·Jan 16, 2023----