Understanding How Props Are Passed to React Component

Note: This is part 2 of three-part prerequisite post series. A  prior knowledge of these topics is essential before deep diving into Creating List React component. In the previous learning-note post Learning to Work With React Components, how to build a simple react component using run time <script>in a HTML file were discussed. Although slow, this […]

Working with Functions and Array.Map() Method in ReactJS

Note: This is part 1 of three-part prerequisite post series. A  prior knowledge of these topics is essential before deep diving into Creating List React component. In the previous learning-note post Learning to Work With React Components, how to build a simple react component using run time <script>in a HTML file were discussed. Although slow, this […]

Deep Dive Into Immediately Invoked Function Expressions (IIFEs)

Note: This post is work-in-progress learning-note and still in active development and updated regularly. In the previous learning-note posts, JavaScript (JS) functions: the basics, callback functions, declaration vs expression were discussed in detail. In this learning-note post, we will deep dive into another important function called the immediately invoked functions expressions (IIFEs) and discuss its […]

JavaScript Functions – Parameters Vs Arguments

Note: This post is work-in-progress learning-note and still in active development and updated regularly. In JavaScript (JS), functions and objects are very important component of JS language, often use of the terms parameters and arguments seems to be used interchangeably. For beginners, this could be confusing. Yes. there is some difference between parameters and arguments. […]

Some Pitfalls of Arrow Funtions

Note: This post is work-in-progress learning-note and still in active development and updated regularly. In a separate post Understanding JavaScript Arrow Functions, arrow functions, its syntax, major features and some use case examples were discussed. Since arrow functions were added in ES6 as (i) shorter and concise syntax alternatives to autonomous functions , and (ii) […]

Understanding JavaScript Arrow Functions

Note: This post is work-in-progress learning-note and still in active development and updated regularly. JavaScript (JS) functions are the building blocks of the program, as they allow use perform an operation many times by calling name of code block without repetition. In the previous posts, we discussed Understanding JavaScript Functions – The Basics, Function Declaration […]

JavaScript Functions – Declaration and Expression

This post is work-in-progress learning-note and still in active development and updated regularly. In my another post, Understanding JavaScript Functions – The Basics,  common ways of defining a function, their basic syntax and some examples were discussed. In this post, I will focus on difference between the function declaration & function expression with some examples. […]