December 21, 2022
Estimated Post Reading Time ~

JavaScript Concepts you need for React

JavaScript Concepts you need for React

1. Template Literals  
Use of two back-ticks ` ` to concatenate strings 
${} is used to return any dynamic value




2. Short Conditionals: 
&&, ||, Ternary Operator  
  • Logical operators determine the logic between variables or values  
  • Ternary Operator works similar to the if-else statement, but in shorter expression



3. Three Array Methods  
Map:Loops the whole array and return the item and index  
Filter: Returns the items which pass the specific condition  
Reduce: Executes a reducer function for array element





4. Destructuring
Destructuring in JavaScript for Beginners 

5. Spread and Rest Operator
Spread and Rest Operators in JavaScript 
https://aem4beginner.blogspot.com/spread-and-rest-operators-in-javascript

6. Functions and Arrow Functions

Functions and Arrow Functions Function is a block of code that can be executed multiple times without writing it multiple times Arrow Functions are just basic functions with simpler syntax





By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.