In javascript 0 _ -1 = -0 !
Do you know when we evaluate this in javascript we will get because javascript can hold positive 0 (+0) and negative 0 (-0). Why +0 and -…
About DOM (Document object model) in HTML
What is DOM ? DOM (Document object model) is the tree structured data representation of the objects that comprise the structure and content…
About Gatsby
Gatsby is react based open source framework to create static websites and static web-apps. It is suitable if we are building portfolio sites…
Advantages of useTimeout and useInterval hooks over setTimeout and setInterval ?
Hello 👋 , Hope all are doing good in this pandemic time. In this article i am going to explain what are advantages of and hooks over and…
All about closure in javascript
Hello all 👋🏻, This article is all about closure in javascript. Closure is not a easy topic. It will be confusing topic for beginners. In…
Benefit of maintaining separate Js file in HTML
Building multiple themes with CSS..
This article is about building a site with multiple color schemes. It will change the theme without reloading the document, without adding…
Create own react-redux using context api in react
Hello 👋, In this article we are going to build own with the help of api Why we need redux in react ? In react we need to share data…
Currying in javascript!!
What is currying ? Currying is an advanced technique of working with functions. It is a transformation of functions that translates a…
Disadvantages of Css-in-Js ?
Difficulty to learn for the devs who are new to react syntax. The class names themselves are dynamically generated, too, essentially…
Don't be too dependent on useState, useRef is there for you
Hello 👋Hope all are doing good in this pandemic time. Whenever i am seeing any reactjs code snippets in internet i am noticing the…
Feedback and improvements for my mini project
I created a mini web app it will convert time and date from one time zone to other time zone. Here is the link:https://time-zone-converter…
Gatsby cli commands
gatsby develop Starts development server. If something changes in the project it will rebuilds the server and perform hot reload. gatsby…
Getting started with gatsby
Requirements Nodejs (download it from here https://nodejs.org/en/download/) Installing gatsby cli Before creating a site you should know…
How Gatsby works
https://cdn-media-1.freecodecamp.org/images/1*8JLlG_T6onoeW2mVjVT_Gw.png Gatsby is static site generator. it has three phases Collecting…
How to store passwords in db?
Hello All, Hope all are doing good in this pandemic time. This article is about hashing passwords before writing in storage. Now a days…
How to use ES6+ features in nodejs
This article is about how to use in nodejs project Initialising project with npm Installing babel plugins for es6+ features Adding babel…
Implementing Stack in javascript
Hello 👋, This is an article on implementing stack data structure in javascript We already know stack is data structure. It has methods like…
Implementing your own Generator using closure !!!
Generating x to y numbers using Generator Generating x to y numbers using closure
Javascript form validator
Here we are going to build a form validator class it will expose four methods , , and . forField This method will take field name as…
Learn Javascript array methods with the help of emojis
Thank you!!Cheers!!
Power of Js reducer
Reducer executes a function (provided as argument to reducer) on each element of the array, resulting in single output value. Custom Reducer…
Promisify setTimeout
Code to promisify Usage
React refactor code
Actual code : Actual code.png Refactor stage 1 (Make larger components in to small by creating small reusable components): Refactor stage…
React refactor code
Actual code : Refactor stage 1 :instead of if we use it would be more readable. Refactor stage 2 :No inline functions
Say hello to Deno
Installation Running First Deno program Hello World with colored text on console create a file name it Run the following commands to run…
Simple js compose
The concept of is simple — it combines n functions. It’s a pipe flowing right-to-left, calling each function with the output of the last…
Try to use functional component over class component in react
Functional component are much easier to read. Class components are stateful while Functional are stateless. You end up with less code. Fewer…
use strict in javascript
directive introduced in ECMAScript version 5. It is to indicate that the code should be executed in “strict mode”. This directive will tell…
Why i would recommend Thoughtworks for others?
Let’s jump into the topic. Anyone who has an idea on programming can build an app or a software. But the major challenge is not only the…