You are here: Home / Topics / Search / React JS Tutorial
Showing 12 Search Results for : React JS Tutorial

Chapter 12: Advanced Topics

Filed under: React JS Tutorial on 2025-11-27 07:43:35
Introduction to Advanced Topics In this chapter, we'll cover some advanced topics in React, including:- Higher-Order Components (HOCs)- Render Props- Context API with Hooks- Server-Side Rendering (SSR)- Code SplittingHigher-Order Components (HOCs) A Higher-Order Component is a function tha

Chapter 11: Redux

Filed under: React JS Tutorial on 2025-11-27 07:39:35
Introduction to Redux Redux is a state management library for JavaScript applications. It helps you manage global state by providing a single source of truth for state and a predictable, scalable way to update state.Core Concepts Redux has three core concepts:1. Store: The store is the cen

Chapter 10: React Router

Filed under: React JS Tutorial on 2025-11-21 08:20:24
Introduction to React Router React Router is a popular library for managing client-side routing in React applications. It allows you to define routes for your application and navigate between them.Installing React Router To install React Router, run the following command in your terminal:n

Chapter 9: Context API

Filed under: React JS Tutorial on 2025-11-21 08:16:36
Introduction to Context API The Context API is a way to share data between components in a React application without passing props down manually. It provides a way to share values between components without having to explicitly pass them down through props.Creating a Context To create a co

Chapter 8: React Hooks

Filed under: React JS Tutorial on 2025-11-20 07:49:09
Introduction to React HooksReact Hooks are a way to use state and other React features in functional components. They were introduced in React 16.8 and have become a popular way to manage state and side effects in React applications.useState Hook in React The `useState` hook is used to add stat

Chapter 7: Forms and Validation

Filed under: React JS Tutorial on 2025-11-20 07:45:03
Introduction to FormsIn React, forms are used to collect user input. You can use the `useState` hook to store the form data and handle changes to the form.Controlled ComponentsIn React, a controlled component is a component that has its value controlled by React. To create a controlled component, yo

Chapter 6: Lists and Keys

Filed under: React JS Tutorial on 2025-11-20 07:41:23
Introduction to ListsIn React, lists are used to render multiple components. You can use JavaScript arrays to create lists and render them in your components.Rendering ListsTo render a list in React, you can use the `map()` method to iterate over an array and return a JSX element for each item: 

Chapter 5: Conditional Rendering

Filed under: React JS Tutorial on 2025-11-20 07:39:16
Introduction to Conditional RenderingIn React, conditional rendering is used to render different UI components based on certain conditions. This is useful for displaying different content based on user interactions, API responses, or other dynamic data.Using Conditional StatementsTo conditionally re

Chapter 4: Event Handling

Filed under: React JS Tutorial on 2025-11-20 07:35:40
Introduction to Event HandlingIn React, event handling is used to respond to user interactions such as clicks, hover, and form submissions. Events are handled using event handlers, which are functions that are called when an event occurs.Handling EventsTo handle an event in React, you can use the `o

Chapter 3: State and Props

Filed under: React JS Tutorial on 2025-11-20 07:31:14
Introduction to StateIn React, state refers to the data that changes over time and affects the rendering of a component. State is used to store data that is specific to a component and is used to render the component.Using StateTo use state in a functional component, you can use the `useState` hook:

Chapter 2: JSX and Components

Filed under: React JS Tutorial on 2025-11-19 20:39:51
Introduction to JSXJSX is a syntax extension for JavaScript that allows you to write HTML-like code in your JavaScript files. It's used to create React elements and is compiled to JavaScript by Babel.Creating ComponentsIn React, a component is a small, reusable piece of code that represents a UI ele

Chapter 1 - Introduction to React JS

Filed under: React JS Tutorial on 2025-11-19 20:29:49
What is React? React is a JavaScript library for building user interfaces. It's a popular front-end framework used for creating reusable UI components.History of ReactReact was created by Jordan Walke, a software engineer at Facebook, in 2011. It was first deployed on Facebook's newsfeed in 201