Build a Shopping Cart with React JS, Context API, and useReducer Hook | Ecommerce Website Tutorial

  Рет қаралды 13,103

Code With Yousaf

Code With Yousaf

Күн бұрын

Пікірлер: 20
@harshvaidya3787
@harshvaidya3787 Ай бұрын
36:56 printing the cart data 42:56 summary of the cart
@abdulwarissherzad9914
@abdulwarissherzad9914 8 ай бұрын
Nice, I am the third person to comment, but it is a perfect video, pls provide a tutorial with TS.
@Coder2908-d1u
@Coder2908-d1u 2 ай бұрын
Great tutorial. However, the issue that I would like to point out is that if a user keeps clicking on 'Add To Cart' on the same product, it creates multiple of the same product inside the cart instead of just increasing the quantity.
@dogejohn5118
@dogejohn5118 7 ай бұрын
Its good that u have started giving source code
@smartdriver2990
@smartdriver2990 8 ай бұрын
Thanks, i like the tutorial
@pablofc6910
@pablofc6910 4 ай бұрын
Yo´re good! more proyects please 💪🏻💪🏻
@sarab_syon
@sarab_syon 10 күн бұрын
when i am clicking the + button ,it shows 11 in the quantity box and in total items box also, can you tell me what 's problem is this ?
@codewithyousaf
@codewithyousaf 10 күн бұрын
i think the reason is string you have added string instead convert that to number to add them
@shubhanksharma5481
@shubhanksharma5481 7 ай бұрын
Please some more projects with useReducer hook.....Thank you ❤
@sfayzer
@sfayzer 8 ай бұрын
Good you started to provide the source code
@NitinkumarSaini-qb6kz
@NitinkumarSaini-qb6kz 8 ай бұрын
it gives all time undefined ?
@hammadhasan5159
@hammadhasan5159 6 ай бұрын
check in your api does it provide "quantity" or not
@NitinkumarSaini-qb6kz
@NitinkumarSaini-qb6kz 5 ай бұрын
@@hammadhasan5159 i found where i'm getting error , we have to pass tow argument in the context competent .
@juelmapereira4277
@juelmapereira4277 5 ай бұрын
@@NitinkumarSaini-qb6kz can you help me?
@adityapratapsingh153
@adityapratapsingh153 6 ай бұрын
any idea why quantity is NaN and not increasing
@hammadhasan5159
@hammadhasan5159 6 ай бұрын
check in your api does it provide "quantity" or not
@juelmapereira4277
@juelmapereira4277 5 ай бұрын
My app doesnt increase neither decrease, I have a quantity in my api, but I can making these operations
@Coder2908-d1u
@Coder2908-d1u 2 ай бұрын
Is the quantity a string or an int? I was having an error of getting the total price of NaN and it turned out that the values I had in my api were string, not int.
@hendoitechnologies
@hendoitechnologies 8 ай бұрын
connect payment gateway part video also
Build a Realtime Chat App in React JS, Node JS and Socket.io
58:22
Code With Yousaf
Рет қаралды 8 М.
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 74 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 687 М.
Build Navbar Menus That Actually Work for Everyone
17:07
Coding2GO
Рет қаралды 19 М.
How To Optimize Largest Contentful Paint
7:24
DebugBear
Рет қаралды 27 М.
The ultimate guide to web performance
6:43
Beyond Fireship
Рет қаралды 469 М.
ALL React Hooks Explained in 12 Minutes
12:21
Code Bootcamp
Рет қаралды 183 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 738 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 241 М.
5 CSS Tips & Tricks for better Responsive Web Design
9:39
Coding2GO
Рет қаралды 44 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 913 М.
Build a dark mode light mode in reactjs with context api
29:20
Hitesh Choudhary
Рет қаралды 35 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН