Skip to content

Repository files navigation

🧠 React Concepts Playground

This repository contains a structured and practical collection of mini React projects and examples, each focused on mastering a specific React concept. Every folder has its own isolated Vite project for quick testing, debugging, and hands-on learning.

📁 Folder Structure & Concepts

Folder NameDescription
useStateBasic examples of useState for handling local component state.
useEffectSide effects such as data fetching, DOM events, timers using useEffect.
useContextShared global state using the Context API with useContext.
useRefAccessing and modifying DOM nodes or storing mutable values using useRef.
useMemoPerformance optimization with memoized values using useMemo.
useCallbackPrevent unnecessary re-renders of functions using useCallback.
stateLiftingDemonstrating how to lift state up between components.
ReactPropsPassing props between parent-child components, including prop drilling.
ReactRouterDomRouting with nested routes, params, redirects using react-router-dom.
ReactHookFormForms with validation using react-hook-form for cleaner code and UX.
LazyLoadingLazy loading components using React.lazy() and Suspense.
Redux ToolkitState management using modern Redux Toolkit (@reduxjs/toolkit).
ProjectA mini-project combining multiple hooks and concepts in a real-world setup.

🚀 Features

  • Vite setup for every project
  • Minimal, focused code examples
  • Tailwind/MUI compatible (depending on project)
  • Clean folder structure and naming
  • Beginner to advanced concepts covered

🛠 How to Run Any Folder

cd FolderName
npm install
npm run dev

About

⚛️ React Concepts 360° — modern playground for all core React pattern and in isolated dev-ready apps.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages