A simple explanation of Callback functions in JavaScriptHi everyone! 👋 In this post we will take a deep dive into callback functions. Suppose you created a function called add2 which added 2 to the number it was passed: function add2(num) { return num = num + 2; } console.log(add2(3)); // 5 If we ...Nov 30, 2021 · 3 min readsushmita.hashnode.dev
Introduction to Destructuring in JavaScriptHey everybody 👋 In this article we will talk about Destructuring in JavaScript. Destructuring syntax is helpful to unpack values from arrays and objects into variables in JavaScript. This feature was rolled out in ES6 along with many other cool fea...Sep 29, 2021 · 5 min readsushmita.hashnode.dev
How to use React Hooks - 2 most commonly used Hooks explained ✨Hey there! Welcome to my first post :D. In this post, I'm gonna introduce you to React Hooks, and then teach you two of the most used hooks - the state hook and the effect hook. Let's dive right in! What are Hooks? Hooks were introduced for the first...4ESEMar 28, 2021 · 7 min readsushmita.hashnode.dev