GithubHelp home page GithubHelp logo

redux-vs-context-shopping-cart's Introduction

Redux-vs-Context-Shopping-Cart

This is a collaborative shopping cart project that explores the use of state management with two different approaches: Redux and Context API. In this project, two separate branches have been created to showcase the implementations of Redux and Context API, with each branch being maintained by one of the collaborators.

Project Overview

The primary goal of this project is to compare the usage and benefits of Redux and the Context API for state management in a React application. By collaborating with a classmate, we have created separate branches for Redux and Context API implementations, allowing for a side-by-side comparison of these two popular state management solutions.

Collaborators

Branches

Redux Branch

The Redux branch is maintained by Issam and contains the implementation of the shopping cart using Redux for state management. You can find detailed information and usage instructions in the Redux branch README.

ContextAPI Branch

The ContextAPI branch is maintained by Mohamed and contains the implementation of the shopping cart using the Context API for state management. You can find detailed information and usage instructions in the ContextAPI branch README.

Getting Started

If you're new to this project, you can follow these steps to get started:

  1. Clone the repository:
    git clone [email protected]:MEZ901/Redux-vs-Context-Shopping-Cart.git
  2. Navigate to the project directory:
    cd Redux-vs-Context-Shopping-Cart
  3. Choose the branch that aligns with your interest:
    • For Redux:
      git checkout redux
    • For ContextAPI:
      git checkout context-api
  4. Follow the instructions in the respective branch's README to set up and run the project.

redux-vs-context-shopping-cart's People

Contributors

mez901 avatar

Stargazers

 Mohamed ABRACHE ⵎⴻⵃⵎⴰⴷ ⴰⴱⵔⴰⵛ  avatar Noureddine Maher avatar

Watchers

 avatar

Forkers

abrache01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.