Skip to content

⚛️ A curated collection of React exercises and projects demonstrating core concepts such as state management, hooks, conditional rendering, and the Context API, aimed at building a deeper understanding of React development. 🚀

Notifications You must be signed in to change notification settings

a9na/react-projects

Repository files navigation

⚛️ React Projects

🚀 React Projects is a collection of curated mini-projects and exercises designed to demonstrate various concepts in React development. Whether you're just getting started or looking to deepen your understanding of React, this repository showcases a range of projects that explore fundamental and advanced topics, including state management, hooks, conditional rendering, and more.

💡 Features

  • State and Props: Learn how to manage state and pass props between components efficiently.
  • Hooks: Explore React hooks like useState, useEffect, useContext, and useRef.
  • Conditional Rendering: Understand how to render components based on dynamic conditions.
  • Event Handling: Learn how to manage events and update state based on user actions.
  • Array and Object State Updates: Master the process of updating arrays and objects within React's state.
  • Context API: Simplify state management across large component trees using useContext.
  • Styling in React: Apply dynamic styling using inline CSS and external stylesheets.

📂 Project List

Here’s an overview of some the mini-projects included in this repository:

  1. Card Component: Build reusable components that display dynamic content.
  2. Click Events: Handle user interaction with buttons and other elements.
  3. Color Picker: Implement a custom color picker using React state.
  4. Conditional Rendering: Dynamically display components based on certain conditions.
  5. React Props: Pass data between parent and child components.
  6. Render Lists: Loop through data arrays and render elements efficiently.
  7. Style React: Apply CSS and SCSS to React components.
  8. Update State of Array: Learn to manage and update array states.
  9. Update State of Objects: Update nested state properties effectively.
  10. Use Context: Manage global state using the React Context API.
  11. Use Effect: Handle side effects and lifecycle methods with useEffect.
  12. Use Ref: Access and manipulate DOM elements using useRef.

🛠️ Installation and Setup

  1. Clone the repository to your local machine:
git clone https://github.com/a9na/react-projects.git
  1. Navigate into the project directory:
cd react-projects
  1. Install the dependencies:
npm install
  1. Run the application:
npm start

📚 Resources

Here are some valuable resources. These links can serve as a reference to further enhance your understanding of React:

  1. Official React Documentation:

    • React Docs
      The official React documentation covering topics such as state, props, hooks, and more.
  2. React Hooks Guide:

    • Using the Effect Hook
      A comprehensive guide on useEffect and other hooks to handle side effects in functional components.
  3. JavaScript ES6 Concepts:

  4. CSS in React:

    • Styling in React
      Learn how to add inline styles, use external CSS, and manage CSS-in-JS libraries in your React projects.
  5. React Context API:

    • Context API
      A guide to effectively managing global state and avoiding prop drilling using the Context API.
  6. React and Bootstrap Integration:

  7. JavaScript Array and Object Manipulation:

  8. React Developer Tools:

About

⚛️ A curated collection of React exercises and projects demonstrating core concepts such as state management, hooks, conditional rendering, and the Context API, aimed at building a deeper understanding of React development. 🚀

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published