Blog
#react
#css
#javascript
#mongodb

Get all files in a folder using Node Js

December 01, 2022🍿 1 min read

To get all files in a folder and its sub-folders recursively using Node.js, you can use the fs.readdirSync() method in the fs module.

Continue reading

Do you know spread operator in Javascript object is mutable?

December 30, 2019🍿 2 min read

Spread operator becomes the defacto solution for creating immutable object in javascript. But make sure to have the caution, spread operator does mutate objects in specific cases. We will see it briefly.

Continue reading

Error handling while using native fetch API in JavaScript

September 16, 2019🍿 2 min read

We will see, how to handle fetch API errors using promises and async await syntax in JavaScript

Continue reading

Async functions always return a promise - Lets deep into the Async world

August 31, 2019🍿 1 min read

Async await become integral part of any modern application in JavaScript. We have used async for all asynchronous operation and return the promise ourself. But do you know, how async works? Lets see it in detail.

Continue reading

Rename variables while destructuring

August 27, 2019🍿 1 min read

Destructuring is a great feature and has many use cases. Today, we will see how to rename a variable while destructuring and some use cases for it.

Continue reading

Default values while Destructuring in JavaScript

August 18, 2019🍿 2 min read

Destructuring object or array are great features in es6. There are several use cases for it. In this article, we will learn how to set default values while destructuring.

Continue reading

Union of objects in javaScript based on unique value - Merging worlds using javaScript

August 13, 2019🍿 4 min read

In modern javascript, its very easy to merge two objects, but do you know how to merge more complex objects or arrays based on unique values on two different objects. Lets leran that technique together.

Continue reading

Vanilla JS equivalent for counting number of child elements using className

August 10, 2019🍿 1 min read

How to count the number of child elements using classnames in javascript. It is very easy with jQuery, but do you know how to do it in javascript, lets learn it today.

Continue reading

How to group an array of objects through a key using Array reduce in javascript

August 06, 2019🍿 3 min read

Understand how to group an array of objects using one of its key. We will achieve this function using array reduce in javascript.

Continue reading

Quicklink - a small JS library to fast load subsequent pages and improve user experience

May 05, 2019🍿 2 min read

Page loading speed is one of the most important metric. Quicklink is a simple javascript library to make any site faster. Lets see how to get started with Quicklink.

Continue reading

Vanilla JS equivalent for jQuery Ready

April 05, 2019🍿 1 min read

Document ready function is widely used feature from jQuery. With growing trends in modern web development and much better browser support for vanilla JS API's, We can replace or reduce jQuery dependency easily.

Continue reading

Wanna become a Pro Engineer!

Weekly, practical advice on how to become a better Engineer. Read by 210+ engineers, managers, and founders.

Made with ❤️ in Tallinn, Estonia

Paramanantham Harrison's DEV Profile