About

Tuesday, January 24, 2023

ReactJS Tutorial - 20 - Styling and CSS Basics


 

Basics of Styling and CSS in React

ReactJS Tutorial - 19 - Index as Key Anti-pattern


 

In this video we tutorial Index as Key Anti-pattern in react js

ReactJS Tutorial - 18 - Lists and Keys


 

A “key” is a special string attribute you need to include when creating lists of elements. Keys give the elements a stable identity. Keys help React identify which items have changed, are added, or are removed. This results in a much more efficient update of the user interface.

ReactJS Tutorial - 17 - List Rendering


 

When you build web applications, a common scenario is to display a list of items. For example, a list of names, a list of products, a list of courses and so on. So what we want to is to repeat some HTML for each item in the list. In this video, lets take a look at list rendering in React.

ReactJS Tutorial - 16 - Conditional Rendering


 

When you are building React applications, you may often need to show or hide some HTML based on a certain condition. Luckily, conditional rendering in React works the same way conditions work in JavaScript. We have 4 different approaches and we will take a detailed look at all of them. We have if/else, element variables, ternary conditional operator and short circuit operator (&&).

ReactJS Tutorial - 15 - Methods as props


 

In this video, we take a look at passing methods as props in React components

ReactJS Tutorial - 14 - Binding Event Handlers


 

In this video, lets learn how to bind event handlers in React components.

ReactJS Tutorial - 13 - Event Handling


 

Any web application you create typically tends to have user interaction. When the user interacts with your app, events are fired. For example, mouse clicks, mouse over, key press, change event and so on. The application must handle such events and execute the necessary code. In this video, lets see how to handle events in React.

ReactJS Tutorial - 12 - Destructuring props and state


 

This video we tutorial Destucturing props and state in React JS

ReactJS Tutorial - 11 - setState


 

this video we tutorial setState in React JS

ReactJS Tutorial - 10 - State


 

State is similar to props, but it is private and fully controlled by the component.

ReactJS Tutorial - 9 - Props


 

props short for properties, is the optional input that your component can accept. It also allows the component content to be dynamic.

ReactJS Tutorial - 8 - JSX


 

JavaScript XML (JSX) is an extension to the JavaScript language syntax. With React, it's an extension to write XML-like code for elements and components. And just like XML, JSX tags have a tag name, attributes, and children

ReactJS Tutorial - 7 - Hooks Update


 

this video we tutorial ReactJS Hooks Update

ReactJS Tutorial - 6 - Class Components


 

Class syntax is one of the most common ways to define a React component. While more verbose than the functional syntax, it offers more control in the form of lifecycle hooks. Creating a class component is pretty simple; just define a class that extends Component and has a render function.

ReactJS Tutorial - 5 - Functional Components


 

The simplest way to define a component is to write a JavaScript function. A valid React component because it accepts a single “props” (which stands for properties) object argument with data and returns a React element. We call such components “function components” because they are literally JavaScript functions.

Saturday, January 21, 2023

ReactJS Tutorial - 4 - Components


 

Components let you split the UI into independent, reusable pieces, and think about each piece in isolation. Conceptually, components are like JavaScript functions. They accept arbitrary inputs (called “props”) and return React elements describing what should appear on the screen. There are two types of components - Stateless Functional Components and Stateful Class Components

ReactJS Tutorial - 3 - Folder Structure


 

Exploring the folder structure of a Create React App generated project.

ReactJS Tutorial - 2 - Hello World


 

Create React App is a comfortable environment for learning React, and is the best way to start building a new single-page application in React. It sets up your development environment so that you can use the latest JavaScript features, provides a nice developer experience, and optimizes your app for production.

ReactJS Tutorial - 1 - Introduction


 

React is an open source javascript library for building user interfaces. React is a project created and maintained by Facebook. React has more than a 100 thousand stars on GitHub and a huge community behind it. React has become increasingly popular among developers and is also one of the most sought out skill-sets by companies right now. React has a component based architecture. This lets you break down your application into small encapsulated parts which can then be composed to make more complex UI. React is declarative. React will make it painless for you to create complex UIs by abstracting away the difficult parts. React will handle efficiently updating and rendering just the right components in your application when your data changes. DOM updates which is one of the more expensive operations is handled gracefully in React.

#51 JS Closures made EASY | JavaScript Full Tutorial


 

In this lesson we'll learn all about JS Closures, closures are an advanced JS function concept. By the end of this lesson you will know exactly what they are, how to create them and why we should use them. 0:00 - Intro/Like and Subscribe! 1:00 - Re-cap on JS Scope 5:00 - What is the Lexical environment? 6:45 - What are JS Closures? 9:14 - Lesson Summary 9:53 - Lesson Tasks 12:17 - Outro/Up Next

#50 JS Recursion made EASY | JavaScript Full Tutorial


 

In this lesson we'll learn all about JS Recursion, a recursive function is a function that calls itself inside the function body, and also stops itself.

#49 What are Pure Functions? | JavaScript Full Tutorial


 Let's learn about pure functions, first we'll look at a definition and then some examples of pure functions in action.

0:00 - Intro - Like and Subscribe 0:36 - What is a Pure Function? 0:53 - Pure Function example 2:40 - Impure Function example 5:55 - Lesson Summary 6:21- Outro/Up Next

#48 What are Higher Order Functions? | JavaScript Full Tutorial


 

In this lesson let's learn all about higher order functions, we'll understand what they are and look at some examples. 0:00 - Intro - Like and Subscribe 0:52 - What are Higher Order Functions? 1:35 - Example 1 - map() 3:06 - Example 2 - addEventListener() 4:45 - Advantages of Higher Order Functions 5:17 - Lesson Summary 5:57 - Outro/Up Next

#47 How to use setTimeout() and setInterval() | JavaScript Full Tutorial


 

In this lesson let's learn all about the timing events setTimeout() and setInterval(), as well as the clear methods clearTimeout() and clearInterval(). So, sometimes we want to control when our function is executed after we invoke it for e.g. we may want to invoke a function 3 seconds after the function has been triggered or we might want our function to repeat every second, we'll learn how to do just that in this lesson as we look at timing events. 0:00 - Intro - Like and Subscribe 0:23 - What are JS timing events? 0:53 - setTimeout() 2:56 - clearTimeout() 5:13 - setInterval() 5:59 - clearInterval() 6:35 - Lesson Summary 7:05 - Lesson Tasks 10:56 - Outro/Up Next

#46 How to use Arrow Functions | JavaScript Full Tutorial


 In this lesson we'll learn all about Arrow Functions, arrow functions are a new modern way of writing functions, they provide a cleaner and more concise syntax as well as advantages when it comes to the 'this' keyword. By the end of this lesson you will know what arrow functions are, how to write them and when to use them.

0:00 - Intro - Like and Subscribe 0:25 - What are Arrow Functions? 1:16 - Writing an Arrow Function 2:25 - Parentheses syntax 3:20 - Function body syntax 5:48 - Arrows and the 'this' keyword 8:55 - Lesson Summary 9:23 - Lesson Tasks 12:18 - Outro/Up Next

#45 What is the Rest Parameter? | JavaScript Full Tutorial


 

Let's learn all about the Rest Parameter, in this lesson we find out what it is and what it's used for, all with a bunch of examples.

#44 What is the Spread Operator? | JavaScript Full Tutorial


 

Let's learn all about the spread operator, we can use the spread operator with arrays, objects, and function calls. In this lesson we'll look at each of them in detail with plenty of examples, we'll then end by looking at some tasks using the spread operator. 0:00 - Intro - Like and Subscribe 0:27 - What is the Spread Operator? 0:49 - Spread with Arrays 7:57 - Spread with Objects 10:27 - Spread with Functions 11:25 - Lesson Summary 11:50 - Lesson Tasks 15:20 - Outro/Up Next

#43 What is JS Destructuring? | JavaScript Full Tutorial


 

In this lesson we learn how to use the destructuring assignment in javascript, destructuring is the process of pulling properites/variable values out of objects and arrays., by the end of this lesson you'll know how to use destructuring. 0:00 - Intro 0:21 - What is Destructuring? 0:50 - Object Destructuring 4:17 - Destructuring Nested Objects 7:00 - Array Destructuring 9:18 - Destructuring Nested Arrays 10:40 - Lesson Summary 11:19 - Lesson Tasks 15:10 - Outro/Up Next

#42 Using Call, Apply and Bind | JavaScript Full Tutorial


 

In this lesson we'll learn how to use the call, apply and bind methods, as you'll see call, apply and bind allow us to take control of what the 'this' keyword refers to. 0:00 - Intro 0:23 - Quick recap on 'this' 1:06 - Using call 3:20 - Using apply 6:09 - Using bind 8:00 - Lesson Summary 8:39 - Lesson Tasks 11:24 - Outro/Up Next

#41 What is the 'this' keyword? | JavaScript Full Tutorial


 

In this lesson we learn all about the 'this' keyword, we'll explore what it is, the different contexts in which it can be used and defined, and of course we'll look at a ton of examples throughout. SUBSCRIBE and hit the BELL NOTIFICATION 🔔: https://goo.gl/nYLZvz 0:00 - Intro 0:43 - Four ways 'this' can be defined 0:59 - 'this' in the global context 3:30 - 'this' in a method 5:00 - 'this' in nested objects 6:43 - 'this' in DOM event handlers 8:13 - Lesson Summary 9:03 - Lesson Tasks 11:55 - Outro and Up Next


#40 Understanding JS Hoisting (EASY Explanation) | JavaScript Full Tutorial


 In this lesson we're going to learn all about JS Hoisting. Hoisting is JavaScripts default behaviour where Variables and Function declarations are moved to the top of their scope before code execution. In this lesson we'll learn how hoisting works with tons of examples throughout.

0:00 - Intro 0:34 - What is JS Hoisting? 1:54 - Declaration and Initialisation refresher 2:20 - Variable Hoisting 3:05 - JS Variable Lifecycle 5:54 - Function Hoisting 7:46 - Lesson Summary 8:25 - Lesson Tasks 10:14 - Outro and Up Next

#39 Understanding JavaScript Scope | JavaScript Full Tutorial


 

In this lesson we learn all about JavaScript Scope, understanding scope is a really important part of learning JavaScript, in this lesson we'll do a deep dive and cover global scope, local scope, functional scope and block scope, we'll also see how these all relate to the differences between var, let and const. 0:00 - Intro 0:42 - What is Scope? 1:21 - Global Scope 2:35 - Local Scope 7:27 - Functional Scope 9:20 - Block Scope 11:29 - Lesson Summary 12:19 - Lesson Tasks 15:30 - Outro and Up Next

#38. How to use Var, Let and Const | JavaScript Full Tutorial


 

Let's learn all about the difference between var, let and const. Why do we have three different ways to declare a variable? When is the right time to use either one? In this important lesson we discuss the difference between the different ways to create a variable, and why/when to either use or not use them. 0:00 - Intro 0:20 - The old 'var' keyword 1:37 - Main differences between var, let, const 2:16 - Reassignment 3:38 - Redeclaration 4:34 - Why the change? 5:30 - Lesson Summary 6:02 - Lesson Tasks 8:09 - Outro and Up Next

Twitter Delicious Facebook Digg Stumbleupon Favorites More