Learning React.js through hands-on practice, concepts, examples, and projects.
Welcome to my React.js learning repository!
This repository contains my practice code, examples, and exercises as I learn React and build a strong foundation in modern frontend development.
My goal is to understand how React works, write reusable components, manage application state, handle user interactions, and build interactive web applications.
Rather than focusing only on theory, I use practical coding exercises to strengthen my understanding of React concepts.
- Introduction to React and JSX
- Components and component composition
- Props and data flow
- State management
- Event handling
- Conditional rendering
- Rendering lists and using keys
- Forms and user input
useStatefor managing component stateuseEffectfor synchronizing with external systemsuseReffor referencing values and DOM elements- Creating reusable custom hooks
- Component lifecycle
- React Router and navigation
- Controlled and uncontrolled components
- Fetching data from APIs
- Managing side effects
- Reusable component architecture
The topics above are a learning roadmap; keep only those represented by code or exercises in the repository.
- React.js — Component-based UI development
- JavaScript (ES6+) — Application logic
- HTML5 — Web page structure
- CSS3 — Styling and layout
- Node.js and npm — JavaScript tooling and package management
Install the following tools:
- Node.js
- npm
- Visual Studio Code
- Git
git clone https://github.com/amarprakash1234/react-learning.gitcd react-learningOpen the repository in VS Code:
code .This repository may contain separate exercises or projects. Navigate to the relevant folder before installing dependencies or running an example.
For a React project containing a package.json file:
npm install
npm run devUse the scripts defined in that project's package.json. If it uses a different setup, follow the instructions for that project.
Through this repository, I aim to:
- Understand React's component-based architecture
- Build reusable and maintainable UI components
- Manage state and props effectively
- Handle events and user interactions
- Work with APIs and asynchronous data
- Understand routing and component lifecycle concepts
- Improve frontend debugging and problem-solving skills
- Apply React concepts in practical projects
- Understand the concept.
- Implement a small example.
- Experiment with the code.
- Debug errors and understand why they occur.
- Apply the concept in a practical project.
- Build more React applications
- Deepen my understanding of React Hooks
- Explore state management libraries
- Improve frontend performance and code organization
- Integrate React applications with REST APIs and backend services
Amar Prakash
Software Developer | MERN Stack Developer | DevOps & Cloud Computing Enthusiast
I enjoy learning by building projects and exploring how frontend, backend, and infrastructure technologies work together.
- GitHub: @amarprakash1234
- LinkedIn: Amar Prakash
Learn. Build. Debug. Improve. 🚀