I never truly understood when I should use Reacts useRef hook. It felt similar to useState, but I never really understood the difference. I also never understood when I should use forwardRef. I will explain both of these hooks and when you should use them.
I was reading some code and saw this nullish coalescing operator (??) which I had never seen these before, so I decided to look them up and write a blog post about them. I have always used the logical OR (||) operator to check for null or undefined values, but I learned that there is a better way to do it.
Go is a programming language that is gaining popularity. It is a statically typed language that is compiled and has a garbage collector. It is a language that is easy to learn and has a lot of resources available for learning. In this article, we will learn the basics of Go.
I recently started to convert my React JS project to TypeScript. I wanted to share my journey in converting my project and the steps I took to get started. Here I cover a few key concepts when you convert a React JS project to TypeScript.
Redux Toolkit is a library that helps you write Redux logic more easily. It requires much less boilerplate code than the classic Redux library. In this post, I will show you how to use Redux Toolkit to write Redux logic.
I recently started a new project and wanted to share how I set up my routes. I used React Router DOM to nest my routes and create a dynamic navigation bar. This post is about my journey in setting up my routes and the steps I took to get started.