← All tags

Pagination & Infinite Scroll in React

· 8 min read

When you have to to present large number of data records in your webapp, you have two options - pagination or infinite scroll. In this post, let's see how to implement both these ways by building a sample app.

#learnings #React

Getting Started with NextJS

· 7 min read

This post explores what NextJS is, how it differs from the likes of Gatsby and CRA, and how you can perform basic tasks like Navigation, Routing, Data Fetching in NextJS. We'll also take a look at the flexibility that Next provides while choosing to prerender or server side render pages.

#learnings #React

Correctly using state in setInterval with Hooks

· 4 min read

Recently, I ran into a problem while using setInterval in React. The function you pass to setInterval is defined once and it closes over the old value of your component state. This becomes a problem when you want to use the state to determine whether to clear the setInterval. Read on to find out the solution that worked for me.

#tinkerings #React

A Closer Look at React's Reconciliation Algorithm

· 8 min read

Ever wondered what makes React so fast? When it was introduced, the killer feature of React was it's concept of "Virtual DOM", however it brought on it's own set of challenges, including how to efficiently update the DOM to be same as React's virtual DOM. Read on to find out how React solves this problem!

#learnings #React

Project Case Study: GradGoggles

· 8 min read

GradGoggles is a cross-platform Virtual Yearbook and Scribble Book App developed for the Class of 2020, which missed all the fun due to the pandemic this year. This post describes the process that went behind developing the app, the technologies used, challenges we faced, and so on.

#projects #React

The Beginner’s Guide to get started with ReactJS

· 6 min read

In this post, we shall explore the ReactJS library. Starting with what ReactJS is and what is the purpose it serves, we shall also develop a basic component to display a tweet. We will then make the component reusable with the help of props, following the core philosophy of DRY (Don’t Repeat Yourself) with ReactJS.

#learnings #React
← Back to all posts