36:56 printing the cart data 42:56 summary of the cart
@abdulwarissherzad99148 ай бұрын
Nice, I am the third person to comment, but it is a perfect video, pls provide a tutorial with TS.
@Coder2908-d1u2 ай бұрын
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.
@dogejohn51187 ай бұрын
Its good that u have started giving source code
@smartdriver29908 ай бұрын
Thanks, i like the tutorial
@pablofc69104 ай бұрын
Yo´re good! more proyects please 💪🏻💪🏻
@sarab_syon10 күн бұрын
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 ?
@codewithyousaf10 күн бұрын
i think the reason is string you have added string instead convert that to number to add them
@shubhanksharma54817 ай бұрын
Please some more projects with useReducer hook.....Thank you ❤
@sfayzer8 ай бұрын
Good you started to provide the source code
@NitinkumarSaini-qb6kz8 ай бұрын
it gives all time undefined ?
@hammadhasan51596 ай бұрын
check in your api does it provide "quantity" or not
@NitinkumarSaini-qb6kz5 ай бұрын
@@hammadhasan5159 i found where i'm getting error , we have to pass tow argument in the context competent .
@juelmapereira42775 ай бұрын
@@NitinkumarSaini-qb6kz can you help me?
@adityapratapsingh1536 ай бұрын
any idea why quantity is NaN and not increasing
@hammadhasan51596 ай бұрын
check in your api does it provide "quantity" or not
@juelmapereira42775 ай бұрын
My app doesnt increase neither decrease, I have a quantity in my api, but I can making these operations
@Coder2908-d1u2 ай бұрын
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.