Acharya

Learning Solutions.

React JS Course

Master front-end Technologies

trainings@acharyals.com

+91 (814)-225-1234

Download Content

Course Content

Introduction to JavaScript

• What is JavaScript?

o History and role of JavaScript in web development.

o Difference between JavaScript, HTML, and CSS.

• Setting Up the Environment

o Using the browser’s developer tools (Console).

o Setting up a code editor (e.g., Visual Studio Code).

• Basic Syntax

o Variables (var, let, const).

o Data types (String, Number, Boolean, Null, Undefined, Symbol, Object).

o Comments, operators (arithmetic, assignment, comparison, logical).

Control Structures and Functions

• Conditionals

o if, else, else if statements..

o o Ternary operators, switch statements.

• Loops

o for, while, do...while loops.

o Loop control (break, continue).

• Functions

o Defining and calling functions.

o Parameters and return values.

o Function expressions and arrow functions (=>).

o Scope (global vs local) and hoisting.

Arrays and Objects

• Arrays

o Array methods (push, pop, shift, unshift, map, filter, reduce, etc.).

o Looping through arrays (forEach, map).

• Objects

o Creating and accessing objects.

o Object properties and methods.

o Nested objects and destructuring.

• Object-Oriented Programming (OOP) in JavaScript

o this keyword, constructors, and prototypes.

o ES6 classes and inheritance.

DOM Manipulation

• Introduction to the DOM (Document Object Model)

o Understanding the DOM structure.

o Selecting elements using getElementById, querySelector, querySelectorAll.

• Manipulating Elements

o Changing text, HTML, and CSS styles.

o Creating, appending, and removing elements.

• Event Handling

o Handling events (click, mouseover, keyup, etc.).

o Adding event listeners (addEventListener).

o Event object, event propagation (bubbling, capturing).

Advanced JavaScript Concepts

• Closures and Scope

o Understanding closures and lexical scoping.

o Function scopes and block scopes.

• Callbacks and Promises

o Asynchronous JavaScript and the need for callbacks.

o Promises: resolve, reject, then, catch.

o async/await syntax.

• Error Handling

o try, catch, finally.

o Throwing custom errors.

Working with APIs

• Introduction to HTTP and APIs

o Understanding REST APIs, request/response cycle.

• Fetching Data from APIs

o Using fetch() to make GET and POST requests.

o Handling responses (JSON parsing).

o Error handling in API calls.

ES6+ and Modern JavaScript

• New Syntax and Features in ES6+

o Arrow functions.

o Template literals (backticks).

o Default parameters in functions.

o Spread and rest operators (...).

o Destructuring arrays and objects.

o let, const, and block scoping.

JavaScript in the Browser

• Local Storage and Session Storage

o Storing and retrieving data in the browser.

Asynchronous JavaScript

• Asynchronous Programming

o Callbacks, Promises, and async/await.

o Understanding event loop and execution context.

• Using Promises

o Chaining promises, error handling with catch.

o Using Promise.all and Promise.race.

Introduction to React

• What is React?

o Overview and importance of React in modern web development.

o Single Page Applications (SPA) concept.

• Setting Up the Development Environment

o Installing Node.js, npm/yarn.

o Creating a React project using create-react-app.

• JSX

o Understanding JSX and its benefits.

o Embedding JavaScript in JSX.

• React Components

o Functional vs Class Components.

o Component structure and lifecycle.

• Props and State

o Passing data with props.

o Managing local state in components.

React Fundamentals

• Handling Events

o Handling user interactions (onClick, onChange, etc.).

o Event handlers and synthetic events.

• Conditional Rendering

o Implementing conditional rendering with if-else, ternary operators, and logical &&.

• Lists and Keys

o Rendering lists using .map().

o Importance of keys in React.

• Forms in React

o Controlled vs Uncontrolled Components.

o Handling form input and submission.

React State Management

• Introduction to State

o Managing local state using useState.

o Updating and mutating state.

• Lifting State Up

o Sharing state between components.

• useEffect Hook

o Introduction to lifecycle management with useEffect.

o Handling side effects in functional components.

• Context API

o Managing global state with React Context.

o Passing data through component trees without props drilling.

Routing in React

• React Router Basics

o Introduction to react-router-dom.

o Setting up routes and navigation.

o Using Link, NavLink, and Redirect.

• Dynamic Routing

o Route parameters and query strings.

o Nested routes and layout management.

Integration with APIs

• Working with APIs

o Fetching data using fetch() and axios.

o Handling loading, success, and error states.

• Rendering Fetched Data

o Mapping over data to display lists.

• Post, Put, Delete Requests

o Making POST, PUT, and DELETE requests to manipulate data.

State Management with Redux

• Introduction to Redux

o Why Redux? Key concepts (Actions, Reducers, Store).

o Setting up Redux in React.

• State Management with Redux

o Managing state with useSelector and useDispatch.

o Connecting Redux with React components.