-
Ternary Operators - Known as shorthand conditional statements , they provide a way to write concise conditional statements
-
Template Literals - Allows for easier string interpolation and multiline strings. They support embedded expressions.
-
Destructing - It simplies the process of extracting values from arrays or objects. It enables you to pack values into distinct variables.
-
Spread Operator - allows us to quickly copy all or part of an existing array or object into another array or object.
-
Functions - Functions are the basic building blocks of js logics, function expressions and arrow functions are ways to define functions.
-
Modules - Modules help for code reusability and organisation. They split code into separate files and enable exporting and importing of functionality.
-
Array Methods - Js gives us numerous array methods to perform common operatons efficiently.
-
Promises - they simplify asycn operations such as fetching data from an API. They represent the eventual completion or failure of an async operation.
-
Async / await - its a more modern way to approach asynchrous operations. It allows writing asynchrous code in a synchrous style.
niiwade/Javascript-basis-for-new-react-devs
This repo is created as a guide for new javascript devs who want a guide to some concepts used in react
JavaScript