Skip to content
/ React Public

A complete React learning series designed for developers who want to learn React from the ground up. This repository showcases every core concept code of React - from components, props, and hooks to advanced topics like context, routing and API - each implemented in separate folders with clean, commented code for easy understanding.

Notifications You must be signed in to change notification settings

xsparsh1/React

Repository files navigation

React

React is a complete React concepts showcase built and maintained by @xsparsh1 .

It serves as both a learning portfolio and a reference collection for beginners who want to understand every major concept of React through practical code examples. Each folder demonstrates an independent topic or concept with clean, readable code and commit history reflecting continuous learning and experimentation.

Tech Stack

  • React.js - Core library for building user interfaces
  • JavaScript (ES6+) - Logic and data handling
  • HTML5 & CSS3 - Component structure and styling
  • JSON Server (for API Practice) - Simulated backend for CRUD operations

Concepts Covered

This repo covers everything from fundamentals to advanced React topics, including:

Core React:

  • Components, Props, and State
  • Conditional Rendering
  • Lists and Keys
  • JSX & Dynamic Rendering

Advanced React Concepts:

  • Lifting State Up
  • Derived State
  • Pure Components
  • Fragments
  • Controlled & Uncontrolled Components
  • Context API

React Hooks:

  • useState
  • useEffect
  • useRef
  • useReducer
  • useTransition
  • useActionState
  • useFormStatus
  • Custom Hooks

Routing & API Integration:

  • React Router (Dynamic Routing)
  • CRUD Operations using Fetch API
  • GET, POST, PUT, DELETE
  • Integration with JSON Server

Performance & Optimization:

  • Lazy Loading
  • Managing Derived State
  • Code Reusability via Custom Hooks

How to Run Locally?

Follow these steps to explore and run the projects:

This repo is perfect for:

  • Beginners learning React from scratch
  • Developers who want modular examples for each concept
  • Students preparing React assignments or projects
  • Anyone who wants hands-on understanding of React Hooks, API integration, and component structure

Highlights:

  • Real commit history showing consistent learning
  • Clean, modular, and reusable code snippets
  • Covers both functional and hook-based approaches
  • JSON Server integration for API simulations
  • Excellent for revision, reference, and practice

Contributions are welcome!

If you’d like to improve examples, add new topics, or fix issues:

  • Fork this repository
  • Create your feature branch
  • Commit your changes
  • Open a Pull Request

About

A complete React learning series designed for developers who want to learn React from the ground up. This repository showcases every core concept code of React - from components, props, and hooks to advanced topics like context, routing and API - each implemented in separate folders with clean, commented code for easy understanding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published