a sort-of guide to revise/learn JS
- Variables (how variables work)
-
var
,let
,const
- hoisting of variables
- Arrow Functions
- Higher Order Functions
- Array De-structuring
- Object De-structuring
- rest operator
- spread operator
- if else
- ternary operators
- using && and ||
- Optional chaining
- map()
- filter()
- reduce()
- sort()
- onClick
- onBlur
- onChange
- onFocus
- setTimeout() & setInterval()
- EventBubling and EventCapturing method
- Callbacks
- Callback Hell
- Promises
- Promise APIS
- Use arrow functions for cleaner code and better callback handling.
- Utilize ternary operators for concise conditionals in React's JSX.
- Understand object destructuring and copying with spread operator.
- Employ the
.map()
function for rendering dynamic lists in React. - Use
.filter()
function to manipulate and filter arrays in React. Understanding searching and filtering through lists using.filter()
function. - Key concepts: Promises, async/await, and data fetching with Fetch API are crucial for web development and communication with APIs.