Git Product home page Git Product logo

react-shopping-cart's Issues

Product isn't displaying!!!

"Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource." at productAction.js : 7

export const fetchProducts = () => async (dispatch) => {
  const res = await fetch("/api/products");
  const data = await res.json();
  console.log(data);
  dispatch({
    type: FETCH_PRODUCTS,
    payload: data,
  });
};

please help me with this!!

using Api

is there any API available to fetch dummy data of e-commerce products ?

Filter Bar Component

Good day Basir,
In the tutorial @1:16:13 I don't see anything changing in console log when I select Order (Lowest/Highest). In fact, I don't even see any console log for event.target.value. I even tried console.log("hello"), it doesn't appear either.
I just cant seem to figure out where I went wrong. A little assistance would be highly appreciated.
Thanks :)
Capture

Bonjour Basir! Product count.

Hope Montreal is nice these days.

I would like to mention that the product count counts items as a category and not as number of units ordered. ex. if i pick only one dress but 5 times, the count is still at 1. I think this is misleading and it could rather indicate unit counts as well.

I really loved this demo and I hope you will get to be know much more. If you ever do live demos, I will greatly appreciate too.

Marc
from Montreal to Switzerland...

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.