Welcome to the React tutorial series for beginners.In this series we will learn React right from the beginning. This is not any other half-baked series on React but instead a complete course which will teach you ReactJS right from scratch.Who this course is for: 1. Beginners who want to learn React 2. Experienced developers who come from other front-end frameworks and want to explore React 3. College students who want to start learning React 4. Startup founders/ coders who want to build an interactive front-end for their web app. Prerequisites: 1. Having a basic understanding of JavaScript syntax will help a lot.
Curated by: Code Stoic (93 videos)
π§ Building a React app and need a backend? Learn FastAPI β the modern Python backend that pairs perfectly with React. β JWT Authentication, OAuth, REST APIs β everything your React app needs. π FastAPI Complete Course (limited discount): https://www.udemy.com/course/fastapi-course-python/?couponCode=YOUTUBE2026 π¦ Also check out: β’ Django Masterclass (44hrs, 9 real projects): https://www.udemy.com/course/django-course/?couponCode=YOUTUBE2026 β’ Python Masterclass 2026 (80hrs):https://www.udemy.com/course/python-masterclass-course/?couponCode=YOUITUBE2026 βββββββββββββββββββββββββ In this lecture we will learn about the useReducer hook in React In React, useReducer is a hook that allows you to manage complex state logic in your components. Itβs an alternative to useState but is particularly useful when your state depends on previous states or when you have multiple pieces of state logic that need to be handled. How useReducer Works useReducer accepts two arguments: A reducer function: This function specifies how the state should change in response to certain actions. It takes the current state and an action as arguments and returns the new state. An initial state: The starting state of your component. It returns: The current state. A dispatch function that you can call to send an action to the reducer to change the state.