
Course Introduction.
Information about using the course.
Instruction on Installing create-react-app
Understanding React Project Structure
Setting up SASS for the project
Learn to format code and set up a linter for a React project with prettier and eslint, configure .eslintrc.json, and manage console and var rules.
A quick introduction to JSX ( JavaScript XML ) syntax.
Styling React components using Inline Styles ( JS in CSS ) , CSS file and SASS
Building reusable components
How to pass props in the components
Understanding React.fragment
Destructing components props
Rendering component based on condition
Understanding Higher Order Components that takes component as argument and returns a component
useState hook for creating local state
Understanding how hooks works internally
Understanding rules for creating and using hooks
Understanding complex state which holds more than simple primitive types.
Learn to render lists in React with map, and assign a unique key to each item to enable efficient updates; explore generating stable keys from data and common pitfalls.
Adding click and other events to components
Understanding communication between parent and child component
creating multiple local using useStates
Understanding Keyword events
Building your own custom hook
Adding onChange event to an input element
referencing element using useRef hook
Learn how to forward refs in React to access or focus nested components, build a forwarded ref input, and move focus between two inputs with the enter key for accessibility.
component lifecycle methods
Add lifecycle method using useEffect hook
Demonstrate useEffect with practical examples: build a clock updating every second using useState and setInterval with cleanup, and track mouse position with a single event listener and cleanup.
fetching data using Async Await
Memoization using useMemo hook
creating your own custom hook to hold previous state
useLayoutEffect hook for synchronous layout update
Debug your React DevTools and the useDebugValue hook to label custom hooks like usePrevious, illustrated by a simple threshold example.
Create a custom hook for fetching data
Setting up Routes for a single page application
Learn to implement route redirects with a login gate using useState and a login/logout button. Redirect unauthenticated users to the login page, and conditionally render the user page.
Learn to use the useContext hook to share and dynamically update state across pages and deeply nested components, avoiding prop drilling by creating and wrapping a message context.
Managing global states using Redux
Using React with Redux
Explore useReducer, a React hook for local state management using a reducer and dispatch, and compare it to Redux for global state with useContext.
Discover how Malbecs enables global state management with hooks, as a redux-like alternative; build a simple counter using a store, observer, and use observable to increment and decrement.
Understanding Testing Unit Testing
Learn to write unit tests with Jest by building a simple React button, install testing libraries, render tests with React Testing Library, and explore snapshot testing with React Test Renderer.
Building a tic tac toe app.
Building your own component library
Creating a reusable button
Learn to build a React style guide with styleguidist to create a reusable component library and document live examples for seamless team collaboration.
Type Checking with proptypes
Learn how TypeScript integrates with React, enforcing type checks and TSX files, and how to define props with interfaces or types, including optional fields, unions, and type aliases.
This is a modern and comprehensive React JS course that focuses on only the latest version of React with hooks ( "no classes"). We will cover the following: You will learn react from scratch , no prior knowledge of react required.
Fundamentals like JSX, component communication, events, fragments, Higher Order Components, and more.
Understand best way to organize files in a react project using common patterns for folder structure
Built-in hooks like useState, useEffect, useReducer, useContext, useDebugValue, useMemo, useRef, useLayoutEffect.
Build our own custom hooks.
Use create-react-app , a command line interface ( CLI ) to swiftly create react projects.
Build a Single Page Application ( SPA ) using react-router-dom
Global State Management with Redux and Redux thunk
Learn unit testing , snapshot testing, mocking in React with Jest and React testing Library .
Build a To-Do app using react
Build a complete drag-n-drop app using react
Build a reusable component library and a documentation site using react styleguidist
Build a documentation site using react storybook
All the code examples are provided in github for your reference.
Many coding exercise to practice
Learn how to upload your react project on github
One of the best feature of this course is its simplicity. All the coding samples are very easy to understand. I prefer to use real-time use cases to explain concepts.