Category: Javascript

4 ways to render large lists in React

Lists are an integral part of most web applications because they help display data in a more presentable format. But when an app tries to handle too much data in a list, it often leads to performance problems. In this guide, we’ll outline some problems associated with bloated lists and walk through steps to overcome …


Building Open Source Web Analytics Platform with Cube.js

I really liked Cube.js, but there were a few hang-ups that I had, two being rather annoying. One was that a new deployment seemed to get Cube and its Redis cache out of sync; Cube thought a pre-aggregation table existed that didn’t, leaving it in a broken state, and I would have to manually reset …


🍪 A highly scalable, professional boilerplate for building fast, robust and adaptable mern web apps 🚀

Created by getspooky and maintained with ❤️ by an amazing team of developers. CookieScript Boilerplate uses familiar tools and implements best practices around them to provide you a SOLID development experience. This project does not impose a specific development philosophy or framework, so you’re free to architect your code in the way that you want. …


How to Use callBack With setState in React

Full Stack Engineer Today we are going to explore the callback function in setState and get to know about how we can use it. First of all, I’d like to explain the ‘callBack’ and ‘setState’. callBack functions is a function that is passed as an argument to another function, to be “called back” at a …


Buy vs. build for web features

Hi there! I’m currently working on making it easier to find features for web applications online (like authentication systems, video chats, forms with data management, etc.). I’m still baffled by how many companies write basically the same features over and over again. What’s your experience with this? Have you ever bought features for web applications …


Extract a `react-blessed` Component and Add the `useInterval` Hook

Extract a `react-blessed` Component and Add the `useInterval` Hook 1 min readJuly 08, 2020 This is the 4th post in a series where we will be creating a developer dashboard in the terminal using react-blessed and react-blessed-contrib. For more information about the series and to take a sneak peak at what we’re building, go to …


Debounce Explained – How to Make Your JavaScript Wait For Your User To Finish Typing

No, that is one of the few things the article got right. This is the usual way to implement a debouncer. debounce itself is not the event listener, it returns a function (without calling it) which will be the actual event listener. So you do call the debounce function directly during initialization. Here is a …


WTF Wednesday (July 08, 2020)

Post a link to a GitHub repo that you would like to have reviewed, and brace yourself for the comments! Whether you’re a junior wanting your code sharpened or a senior interested in giving some feedback and have some time to spare, this is the place. Named after this comic