The React.js Handbook

#1 — Introduction to React

#2 — useState & basic project setup structure

#3 — Props, Destructuring and Spreading

import React from "react";const Employee = (props) => {return (<div><h1>Employee Name : {props.firstName} {props.lastName}</h1></div>);};export default Employee;

#4-Conditional rendering

{employees.length > 1 && (<div><h1>Company Directory</h1>{employees.map((employee) => {return <h4>{employee}</h4>;})}</div>)}

#5- React life cycling

#6- useEffect with API Requests

// componentDidMount
useEffect(() => {console.log('The use effect run')},[])// componentDidUpdate
useEffect(() => {
console.log('The use effect run')},[count]); // every count update// componentWillUnmount (known as cleanUp function)useEffect(() => {
console.log('The use effect ran');
return () => {
console.log('The return is being ran)}},[])
const [todos, setTodos] = useState();useEffect(() => {axios.get("https://jsonplaceholder.typicode.com/todos").then((res) => {const responseTodos = res.data;setTodos(responseTodos);});}, []);

#7- Context API

#8 Redux

#9 React Hooks

const count = useMemo(() => countActiveUsers(users), [users]);

# class component

# LifeCycle method

#10- React Router

#TypeScript

--

--

Investor & Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store