This repository contains multiple React projects demonstrating various concepts, patterns, and libraries in React development. Each folder is a standalone project with its own dependencies and configuration.
A collection of custom React hooks for common use-cases such as:
- Debouncing
- Fetching data
- Local storage management
- Detecting window size
- Handling outside clicks
Navigate to Custom Hooks/ and run:
npm install
npm run devExamples using React Hook Form for building forms, including validation with Zod.
Navigate to React Hook Form/ and run:
npm install
npm run devDemonstrates various React hooks and context usage, including:
- useContext
- useReducer
- Custom hooks
Navigate to REACT HOOKS/ and run:
npm install
npm run devExamples of state management using Redux Toolkit, including slices for counter, todo, and users.
Navigate to React Redux/ and run:
npm install
npm run devA basic CRUD application demonstrating React fundamentals, routing, and simple state management.
Navigate to React-Basics-CRUD/ and run:
npm install
npm run devEach project is independent. To run a specific project:
- Open the project folder.
- Install dependencies:
npm install - Start the development server:
npm run dev
- Node.js (v16 or higher recommended)
- npm
This repository is for educational purposes.
Feel free to explore each project to learn more about React hooks, forms, Redux, and CRUD operations.