React Shopping Cart Tutorial | Context API with useReducer Hook in React JS

  Рет қаралды 239,379

RoadsideCoder

RoadsideCoder

Күн бұрын

Пікірлер: 442
@RoadsideCoder
@RoadsideCoder 7 ай бұрын
My Complete Frontend Interview Prep Course - roadsidecoder.com/course-details (50% Discount for limited time)
@rafaXD05
@rafaXD05 3 жыл бұрын
Whoever is watching this video, let me tell you one thing. You'll be asked to make such project in your frontend interview. Make the most use of this video. Thank you for putting such an amazing content on KZbin bhai 😍❤️
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Yes, It'll be very helpful in machine coding round.
@Sky-yy
@Sky-yy 3 жыл бұрын
Thank you for your comment to let others know the importance of this video bro
@sudhanshumishra935
@sudhanshumishra935 3 жыл бұрын
Yes, i got an assignment which was exactly similar to this 3 days ago, but sadly i coudln't implement the filter functionality......anyways now i have learnt about state management through this video
@shujathaliirfan2662
@shujathaliirfan2662 3 жыл бұрын
I agree
@ssumit196
@ssumit196 3 жыл бұрын
thanks buddy, I was just wondering about this.
@vamsikrishna7957
@vamsikrishna7957 3 жыл бұрын
Great tutorial!!If anyone is getting a blue background in Navbar dropdown badge,set {10}..the background color gets removed.
@purangurung4559
@purangurung4559 2 жыл бұрын
for route we can use
@davidbaraiya2649
@davidbaraiya2649 2 жыл бұрын
Yes this is v6
@sumittimori834
@sumittimori834 2 жыл бұрын
You could've told for FAKERJS alternative faker doesn't work anymore or is it
@chetandhadd321
@chetandhadd321 Жыл бұрын
@@sumittimori834 they bro...im getting error The above error occurred in the component any help
@AmitGhosh-lj3oc
@AmitGhosh-lj3oc Жыл бұрын
@@sumittimori834 did you find any alternative?
@PeterMehr
@PeterMehr Жыл бұрын
@@AmitGhosh-lj3oc You can use @faker-js/faker instead: --> install it with: npm install @faker-js/faker --> then import it in Context.js: import { faker } from '@faker-js/faker'; --> and then use it in Context.js: const products = [...Array(20)].map(() => ({ id: faker.string.uuid(), name: faker.commerce.productName(), price: faker.commerce.price(), image: faker.image.url(), inStock: faker.helpers.arrayElement([0, 3, 5, 6, 7]), fastDelivery: faker.datatype.boolean(), ratings: faker.helpers.arrayElement([1, 2, 3, 4, 5]), }));
@quynhbeautycosmetic
@quynhbeautycosmetic Жыл бұрын
00:00 Build a shopping cart app with complex state management in React using Context API and useReducer hook. 05:35 Creating a navbar with search and cart icon 16:16 Using Faker library to generate fake data 21:26 Creating a cart reducer in a React app 31:56 Creating a rating component and a single product component 37:18 Creating functionality for add to cart and remove from cart 47:34 Building a cart page with React Bootstrap 52:59 Creating a shopping cart app with subtotal and total pricing 1:03:34 Implementing product filtering functionality 1:09:23 Implementing filters and sorting for products
@jenso413
@jenso413 2 жыл бұрын
For anyone else curious about the Array(prod.inStock).keys(); evidently keys() is also an array method! I thought it was just an object method. What he is doing here is creating an array the length of the number of products in stock. For example, if there was 5 products in stock, there would be an array with 5 elements (all undefined initially). Then, the keys method converts an array to an iterable object with the array keys(indexes). This is then spread into an array and mapped over, essentially making each array element an index. I think a simpler and more understandable solution would simply be to use the index parameter from the map function, the result seems to be the same.
@usamaarifshah7499
@usamaarifshah7499 2 жыл бұрын
hey
@fahadahmed3508
@fahadahmed3508 2 жыл бұрын
@@usamaarifshah7499 Thanks for the explanation!
@tanjimanim2391
@tanjimanim2391 2 жыл бұрын
This is a great tutorial. I used this in my project and I want to point out two things. 1. the store/global state will be gone once the page refreshes. Use localstorage to store that. 2. The reducer function used in this video are not pure functions, as you are assigning values on reducers, which is not a good practice.
@oussamaaitboulahna4849
@oussamaaitboulahna4849 2 жыл бұрын
Hi brother , can u tell me how did u store ur data into localstorage and fetch it again , cuz for me im only get [object,object] ??
@tanjimanim2391
@tanjimanim2391 2 жыл бұрын
@@oussamaaitboulahna4849 share your code brother
@shariqansari4056
@shariqansari4056 2 жыл бұрын
@@oussamaaitboulahna4849 Convert your data into string , then store in local storage.
@oussamaaitboulahna4849
@oussamaaitboulahna4849 2 жыл бұрын
@@shariqansari4056 Oh Thanks Man
@abbaskagdi1
@abbaskagdi1 2 жыл бұрын
This comment needs to be on top
@noobCoder26
@noobCoder26 3 жыл бұрын
I am learning a lot from this channel man .I dont understand why this channel is so underrated
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
You can change that by sharing it to more people 😁🙏
@noobCoder26
@noobCoder26 3 жыл бұрын
@@RoadsideCoder I am doing that for sure
@anonimato1987
@anonimato1987 2 жыл бұрын
I am so greatful for the "!important" trick. This is the first time I'm seeing this. So useful!!! Thank you so much!
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Glad it was helpful!
@sohadmad1823
@sohadmad1823 2 жыл бұрын
I can't express how much I am grateful to you, you really saved my life! Thank you very much, you are the best instructor I've learnt with him!
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
You're welcome ❤️
@BrijeshSingh-dp1ku
@BrijeshSingh-dp1ku 3 жыл бұрын
Please keep making such tutorials these are really great 👏
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thank you, I will
@elad3958
@elad3958 2 жыл бұрын
Thank you brother, I became an instant fan of your work/channel.
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
🙏🙏
@jugalsuthar9751
@jugalsuthar9751 3 жыл бұрын
such a great session I learn so many things from this video...thanks and make more videos like this..
@AshishGupta-be2yz
@AshishGupta-be2yz Жыл бұрын
Very amazing project with indepth explanation. Learned many of new things related to reducer. Thanks a lot bhai.
@ndahayokevin7626
@ndahayokevin7626 2 жыл бұрын
Incredible I love your tutorials, you are on of the best Tech youtubers I like most
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Thanks a lot 🙏
@Hrit
@Hrit Жыл бұрын
This is actually a very clean way to write a shopping cart. Thanks for the video man!
@Iambiu
@Iambiu Жыл бұрын
Bro can you forward the link of your shopping cart code bro
@debasmitamallick6489
@debasmitamallick6489 Жыл бұрын
This project is just awesome! I learned a lot from this video. Thanks a ton❤
@Admin-up4hh
@Admin-up4hh Жыл бұрын
Very underated Video . This is what I wanted... Thanks ..💯
@shamaunnabi3508
@shamaunnabi3508 3 жыл бұрын
You are Just Amazing ....We need More Tutorial Like This....Please Upload More Beginner Projects
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thank you, I will
@Dhivyathaya
@Dhivyathaya Жыл бұрын
Thank you for uploading it, Piyush. It's really helpful for us to understand the concept. I can see the hard work and effort you put into it. Once again thank you.
@bardhan.abhirup
@bardhan.abhirup 2 жыл бұрын
Hey, firstly, thanks a lot for your tutorials and interviews. I genuinely feel like I've learnt a lot through them Having said that, if you don't mind a bit of feedback, your naming conventions and general consistency needs some attention. I feel it's all over the place. I know during the interview demos you tend to code faster but in these expositions when you have the luxury of time, i think it's worth paying attention to since you have a lot of viewers. Just my opinion. Regardless of that, I highly appreciate the effort you put in to your content. Thanks once again!
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Hey, Thanks a lot for your feedback. And I have improved this in my recent videos after realising this. ❤️
@alextalha_
@alextalha_ 2 жыл бұрын
the best video by contextApi
@oncoding4520
@oncoding4520 Жыл бұрын
Have been seen some of your videos and you are really a great teacher. Please keep doing some more content for us :)
@abubakaryasin8610
@abubakaryasin8610 3 жыл бұрын
I learned a lot from you Great content
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thanks man. ❤️
@akashawasthi9515
@akashawasthi9515 3 жыл бұрын
utub recommending this piece of work
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Awesome 🔥
@mishka.g8462
@mishka.g8462 Жыл бұрын
That's really great!! keep going!!!🤩
@mohitsaud2071
@mohitsaud2071 3 жыл бұрын
Thank you for this wonderful tutorial.
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Welcome mate
@Ravikumar-wv2xq
@Ravikumar-wv2xq 2 жыл бұрын
hello sir great tutorial perfect combination of useReducer and contextAPI. it's working same as like as redux.
@vinayakjaimini7716
@vinayakjaimini7716 11 ай бұрын
hiii bro i am facing problem in running this project can u help
@iqbal5942
@iqbal5942 3 жыл бұрын
you deserve more subscribers and likes 💖
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thanks man. You can support me by sharing this to people who need it.
@시고르자브종-i1h
@시고르자브종-i1h 2 жыл бұрын
Thank you for your kind explanation! btw I wonder if there is a way to lose focus on the green cart button at "50:15" when moving to the cart page. I tried document.activeElement.blur() but it doesn't work. Probably it's hard to control the bootstrap component?
@saint115io
@saint115io Жыл бұрын
Thank you very much professor for this amazing project, this opens and expands my knowledge to know more about Reducer, provider state, etc.
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Glad to hear that !
@mma-dost
@mma-dost 2 жыл бұрын
Thank you Bhaiya for this tutorial. Really great video 🔥🙏👌❤️👍👍
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
🙏🙏
@BrijeshSingh-dp1ku
@BrijeshSingh-dp1ku 3 жыл бұрын
Best resource for React 🔥🙌
@saurabhtiwari-kg9vn
@saurabhtiwari-kg9vn Жыл бұрын
Bhai kya khate ho 🤔 itna energy rahta hai 😄 Bhokal video h 🔥🔥
@rajbhatia2784
@rajbhatia2784 2 жыл бұрын
you are awesome mentor, well done mate!
@niranjanjathar3748
@niranjanjathar3748 2 жыл бұрын
Thanks for such a great video on context api
@sk199
@sk199 2 жыл бұрын
your projects are super helpful brother..⭐❤
@azizulhakim1534
@azizulhakim1534 3 жыл бұрын
amazing content brother. You deserve more subs, One request: if possible please use a loud microphone.
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thanks brother, I'll improve the audio quality 🤘
@parvathyvd
@parvathyvd 2 жыл бұрын
Thank you so much for making such a wonderful project.
@krutidewda3152
@krutidewda3152 10 ай бұрын
very useful video. Thankyou so much for this.
@RoadsideCoder
@RoadsideCoder 10 ай бұрын
Thanks! I have created an indepth course covering all such topics - roadsidecoder.com/course-details
@IvinAustan
@IvinAustan Жыл бұрын
Thanks a lot, such an great video with nice explanation. 👍
@vaibhavjadhav1702
@vaibhavjadhav1702 Жыл бұрын
thank you for this amazing project🙂
@lle5159
@lle5159 2 жыл бұрын
This is too awesome, I've learned a ton by this video. Thank you very much! Just a little question: `alignRight` in is not working in my end. Has anyone caught the same thing?
@kelongFX
@kelongFX 2 жыл бұрын
yes it says something about the dom i didnt quite get it
@lle5159
@lle5159 2 жыл бұрын
@@kelongFX I use CSS to align the dropdown menu, that I set position: relative for container and position: absolute for dropdown-menu
@cat_onthe_
@cat_onthe_ 2 жыл бұрын
Remove 'alignRight' and add Worked for me.
@andress9525
@andress9525 2 жыл бұрын
You can add inline styling to the tag like so: style={{ alignRight: true }}
@nobodyneedstoknow128
@nobodyneedstoknow128 2 жыл бұрын
align={'end'}
@josatienganh
@josatienganh 7 ай бұрын
It's a great video! Thanks a lot!
@chiranjeevichowdary5948
@chiranjeevichowdary5948 3 жыл бұрын
Waited for this a long time
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Haha yeah
@sushmitagupta
@sushmitagupta 2 жыл бұрын
Great tutorial! It helps me a lot while adding some feature in my E-commerce project but I'm using my own database and I have not added the "inStock" in my database so can you please tell me how can I add that and use in the qty increment feature of cart cards.
@Ajithmani-bm1ji
@Ajithmani-bm1ji 2 жыл бұрын
You got a answer
@baridzimaximillem6743
@baridzimaximillem6743 3 жыл бұрын
You are amazing man keep it up
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Yo thanks mate!
@namethse01
@namethse01 Жыл бұрын
thanks bro, though manything outdate and alot update after time, but it still a good tutorial to start and easy to understand
@islamel7adidy898
@islamel7adidy898 2 жыл бұрын
بتتكلم اسرع من حياتي م براحه ي غالي
@korndev6862
@korndev6862 2 жыл бұрын
Great Tutorial. i would like the react + typescript + combine reducers tutorial plz.
@MrPeepa
@MrPeepa 2 жыл бұрын
"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a " what to do if i get this error?? because if i wrap with it says [home] is not a react component or react.fragment
@dangerzone-136
@dangerzone-136 3 жыл бұрын
Really great video. I am looking something like that. Thank you very much..
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Glad u liked it 🙏
@MrAndykofi
@MrAndykofi 3 жыл бұрын
Great job, thanks for sharing
@hood_love_189
@hood_love_189 Жыл бұрын
complicated video, took a while for me to understand the useState hook, but a good job overall...
@navinkumarsahu1159
@navinkumarsahu1159 Жыл бұрын
Please bring more such contents
@manojsuggala4666
@manojsuggala4666 Жыл бұрын
Good video with clear Explanation. I tried implementing this project, But I didn’t get the output. I got an error saying that: Module not found ‘Faker’ can’t resolve in src/context/context.js. Even I install the package by npm install faker, the error is not re-solving. Can any one help me in resolving the error Thanks in Advance.
@mprasanth18
@mprasanth18 2 жыл бұрын
In interviews is it okay to use plain css modules instead of bootstrap?
@l.seciltuncay7921
@l.seciltuncay7921 Жыл бұрын
great tutorial ⭐⭐⭐⭐⭐ thanks
@huyenminh2631
@huyenminh2631 3 жыл бұрын
From VietNam thanks you so much
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Welcome 🤟
@iqbal5942
@iqbal5942 3 жыл бұрын
Amazing video bro ❤️🙌
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thanks man❤️
@sushilkumar-ef7gh
@sushilkumar-ef7gh Жыл бұрын
Only when components need lot of different state than , its recommended to use state hook else switch on reducer or redux
@souleymanecisse8644
@souleymanecisse8644 3 жыл бұрын
Great content , thanks for sharing
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Glad you liked it 🙏
@GauravPatel-kh1sq
@GauravPatel-kh1sq 3 жыл бұрын
Very Nice explanation with real project. thank you. Can you create/share video with Backend API calling like realword application?
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
I already have a mern stack tutorial series. You can check it out!
@alanouri9965
@alanouri9965 2 жыл бұрын
Thank you man!
@purusharma8192
@purusharma8192 2 жыл бұрын
Please make more react projects....thanks a lot btw are you in akshay saini discord voice chat on first day😁
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Yes i was
@TajminurRahmanmeshadowscream
@TajminurRahmanmeshadowscream 3 жыл бұрын
Great tutorial. So much helpful. I have a question though. How to initialize state with products from API call? Because you're loading dummy products which are synchronised call. How about an async call using API? I tried but the initial state in useReducer initialized first before the products from API get loaded. What do you think?
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
You can do it the same way, that dummy data is also the result of an api call from faker
@chafikgouasmia8089
@chafikgouasmia8089 2 жыл бұрын
Thanks dear oracle : )
@sahanan7117
@sahanan7117 2 жыл бұрын
Hi.. In creating page router, I have written same code as yours but their is error in my output... Please help me out
@devsingal8373
@devsingal8373 2 жыл бұрын
thank you bhaiya so much this hepls a ton, i was stuck in my cart app but this helped me get a new perspective thank you so much can you also make full working ecommerce website video plzzzzzzzzzzzzzzzzzzzzzzzzzzzz
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Yeah sure bro!
@alphonsesossou4283
@alphonsesossou4283 Жыл бұрын
Thanks so much for this awesome course. I am making an excellent use of it. Only one minore issue. Children props is flagged with the error message "Children is missing in props validation". I am using react app created through latest vite. Any hint on what to add to the app so that error disappears? I should mention that the context provider function in jsx nor js.
@KartikNavale-f1e
@KartikNavale-f1e Жыл бұрын
I found the error while installing the faker, anyone can help me in this? Error- Module not found: Error: Can't resolve 'faker' in 'D:\Projects\e-commerce\src\context'
@simranmundada
@simranmundada 2 жыл бұрын
I am getting module not found error which says can't resolve faker in my project
@Insane.18_7
@Insane.18_7 Жыл бұрын
Hi bro thank you so much. You helped me a lot by sharing this content ❤. Can I know one thing, is this responsive, I mean is this compatible for smaller devices like mobile applications?
@nageshworshah8314
@nageshworshah8314 3 жыл бұрын
I don't understand at 41:31 ADD_TO_CART feature. I don't know what's going on there did you guys understand this?
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
In this I'm first spreading the state so that we take everything that's inside of the state, then in cart variable we are taking everything inside of cart by spreading it and then adding a new product.
@SagarTakoresdt
@SagarTakoresdt 3 жыл бұрын
40:29 Can you please explain how this destructing work while using spread operator, understand, but fill like something missing
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
You can try to google. Will find awesome resources
@artemkhasin3735
@artemkhasin3735 2 жыл бұрын
Is it possible to specify versions of all nmp's you are using, and react version as well. Every time I'm installing something it is not working the propper way. I follow the code line by line and check each character but the result is different. I actually stoped wne you installed "faker", since it is not working at all, it just says module is not found
@shruthichandran2796
@shruthichandran2796 2 жыл бұрын
Try in react 17
@blah9960
@blah9960 3 жыл бұрын
Hey thanks for awesome tutorials. Please make a video on redux persist and how user are not able to see persist local storage data in production level
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Hey, Have you followed my MERN Stack Tutorial with redux?
@blah9960
@blah9960 3 жыл бұрын
@@RoadsideCoder yes i followed but there is no redux persist implementation
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
@@blah9960 I have done it, in our store.js when the app loads, it takes user from localstorage
@subhamdudheria9523
@subhamdudheria9523 2 жыл бұрын
Why did you use ... before state in 40:29
@afsaruddin5967
@afsaruddin5967 3 жыл бұрын
Hi Mentor, How can I fetch data from rest api in context instead of faker api? Kindly give me some hints.
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Hey, yes u can with axios or fetch
@himankshu
@himankshu 10 ай бұрын
So what will happen if you add some items and then hard refresh the page? Does the cart items updated to its initial state? If yes, how would you fix it?
@garima6571
@garima6571 2 жыл бұрын
Great man
@PoojaSingh-ev2dh
@PoojaSingh-ev2dh Жыл бұрын
I must say your video is really helpful. But i have a doubt that from where this sort is coming?? const{productState : {byStock, byFastDelivery, byRatings, searchQuery, sort}, productDispatch } = CartState(). Why we are destructuring sort?? its not defined in productReducer state Please let me know
@pupil_1
@pupil_1 9 ай бұрын
case "SORT_BY_PRICE": return { ...state, sort: action.payload }; here they are mentioning
@parmaryash4406
@parmaryash4406 3 жыл бұрын
Amazing
@meitoli
@meitoli Жыл бұрын
in case you have a problem when you click the add to cart and the remove from cart and all items selected. There is an error in the case ADD TO CART, thanks to CHATOpenAI, the code: case 'ADD_TO_CART': return {...state, cart:[...state.cart, {_id: action.payload.id, ...action.payload, qty: 1}]};
@priyankashingne8143
@priyankashingne8143 2 жыл бұрын
This is really helpful video i m trying to create a same project but i m getting problem to access faker
@poojab3272
@poojab3272 2 жыл бұрын
Module not found: Error: Can't resolve 'faker' in 'C:\shop cart\shopping-app\src\context i got this error even after i install faker i dont know what to do . please help me
@shaimantidas9894
@shaimantidas9894 2 жыл бұрын
Me too🙂 did u resolve?
@camo4970
@camo4970 2 жыл бұрын
try this import { faker } from "@faker-js/faker";
@celticspyd5887
@celticspyd5887 9 ай бұрын
sir i want to know If a customer clicks on order btn to order and the order list should received at the admins page/panel without any database or backend possible?? if yes how sir?
@shujathaliirfan2662
@shujathaliirfan2662 3 жыл бұрын
superrrr bro
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thanks man
@sportsynews750
@sportsynews750 Жыл бұрын
have you guys have any problem while importing faker
@vaibhavsharma8012
@vaibhavsharma8012 Жыл бұрын
Good Project
@rounakbhattacherje3426
@rounakbhattacherje3426 Жыл бұрын
in the filter component for the stars , the onClick prop is receiving back the (i=index) from its Rating component , but in react data flow direction is unidirectional, so how is this phenomenon possible??? anybody who understood- care to explain, (i m very new to react, hence this is something very new to me). Thanks in advance
@RonyRoy365
@RonyRoy365 9 ай бұрын
How I will create increment and decrement button . Alternative of select and option. Can you tell me. I created but not working properly
@nishantbindhani9434
@nishantbindhani9434 Жыл бұрын
how is ur dropdown menu position like this (end of dropdown menu container is aligned with the end of dropdown button)
@zakyasharmeen5815
@zakyasharmeen5815 3 ай бұрын
sir as we have generated data from the faker.js so the data is going to be called as dummy data or the dynamic data coming from api?
@RoadsideCoder
@RoadsideCoder 3 ай бұрын
dynamic
@hellocoding2614
@hellocoding2614 Жыл бұрын
faker is not working for me , it's continuously showing me error that module not found , even I've installed it properly again and again ? can anyone helps me out of it?
@pramodravuri6108
@pramodravuri6108 10 ай бұрын
npm i faker@5.5.3
@skskssss126
@skskssss126 2 жыл бұрын
I was asked to implement a cart app using redux or context api. I made this once but due to lack of practice(not making projects with redux or context api) i was not able to make app completely.
@bhattyash15
@bhattyash15 2 жыл бұрын
In which company interview brother and at which round they asked ?
@skskssss126
@skskssss126 2 жыл бұрын
@@bhattyash15 It's a startup and since I've already done some projects for several clients, they just wanted to see how much time i would take to make the cart feature. And as I've already mentioned that the projects i made didn't have redux, so I had to recall whatever I've learned from all the cart feature videos. I almost finished the feature using context api and it was the first round.
@kayman9576
@kayman9576 2 жыл бұрын
@@skskssss126 where you coding right in front of them?
@skskssss126
@skskssss126 2 жыл бұрын
@@kayman9576 yeah
@width19
@width19 2 жыл бұрын
@@skskssss126 can you google?
@johnkucharsky6927
@johnkucharsky6927 2 жыл бұрын
Great job! May i ask you, what do you do for living? Are you working as a programmer currently?
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Yes I'm doing a full time job.
@johnkucharsky6927
@johnkucharsky6927 2 жыл бұрын
@@RoadsideCoder may i ask you what i should know to find a job as a react developer? Do i need to learn cms(contentful etc. ) or maybe node?
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
@@johnkucharsky6927 How's your skillset in react?
@johnkucharsky6927
@johnkucharsky6927 2 жыл бұрын
@@RoadsideCoder well, i do responsive layout with tailwind. UseState and useeffect, router, receive data from api. Todo app, local storage. And useconetxt and usereducer i'm not comfortable with yet. Also tried contentful a little
@meidadb5992
@meidadb5992 2 жыл бұрын
Thank you❤️
@sarthakkanungo9790
@sarthakkanungo9790 Жыл бұрын
why it is throwing error in single product component ,Cannot read properties of undefined (reading 'some')
@codedude8253
@codedude8253 2 жыл бұрын
whenever I add items to cart in Context it works fine , but when I go to Cart page the cart Context gets reset and it becomes empty.What should I do ? I thik its happening due to when I route to cart page the page gets refreshed.
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 73 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
React Query - Full Tutorial 2024 🔥🔥
39:42
RoadsideCoder
Рет қаралды 44 М.
Learn useReducer In 20 Minutes
20:12
Web Dev Simplified
Рет қаралды 523 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Learn React useReducer Hook with Examples
14:19
Lama Dev
Рет қаралды 181 М.
All 17 React Best Practices (IMPORTANT!)
1:46:11
ByteGrad
Рет қаралды 221 М.
React Redux Tutorial For Beginners | Redux Toolkit Tutorial 2021
53:26
Learn React With This ONE Project
1:39:30
Tech With Tim
Рет қаралды 45 М.
useContext with useReducer React Hooks Crash Course
19:45
DesignCode
Рет қаралды 27 М.
Learn React Hooks: useContext - Simply Explained!
15:46
Cosden Solutions
Рет қаралды 198 М.
React JS Full Course | Build an App and Master React in 1 Hour
1:11:44
JavaScript Mastery
Рет қаралды 1,8 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН