Skip to content

A collection of intermediate-level React projects to master the useContext hook with real-world use cases like shopping carts, user settings, and task managers.

License

Notifications You must be signed in to change notification settings

Espadv69/useContext-Intermediate

Repository files navigation

useContext-Intermediate

useContext-Intermediate is a collection of three intermediate-level React projects that showcase practical use cases of the useContext hook for global state management. These projects simulate real-world features like shopping carts, user preferences, and task filtering.

📁 Projects

  1. ShoppingCart-Context
    Build a shopping cart with global state, item management, and persistence using CartContext.

  2. UserSettings-Context
    Manage user preferences like theme and language across the app using SettingsContext and AuthContext.

  3. TaskManager-Context
    Create a task manager with filtering capabilities using TasksContext and FilterContext.

🚀 Getting Started

Each project is located in its own folder. You can run them individually:

  cd ProjectFolderName
  npm install
  npm run dev

Example:

  cd ShoppingCart-Context
  npm install
  npm run dev

🛠️ Requirements

  • Node.js and npm installed
  • Solid understanding of React basics
  • Familiarity with useContext

📚 Topics Covered

  • Creating multiple context providers
  • Composing contexts to manage complex state
  • Real-world patterns like persistence, filtering, and user settings

🤝 Contributing

Feel free to submit issues or pull requests to improve this project.

📄 License

This project is licensed under the MIT License.


Made with ❤️ by Espadv69

About

A collection of intermediate-level React projects to master the useContext hook with real-world use cases like shopping carts, user settings, and task managers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy