@@blockcoder8129 Hi, thanks for the code but I tried your code and it is throwing me an error " Cannot read properly 'apply' of undefined". If possible, can you please help me out with that. Thanks
Hi there - this seems very useful. Can you please share the video link for the plain vanilla javascript version of this app that you mentioned you converted to react in this video? Many thanks.
Three years ago I tried to find simple and understandable video about the whole new and scary world of JS. And found this small channel with 15k subscribers where cool big guy explained basic stuff about JS. And after three years I still watch almost every video from Brad. And now you, Brad reached 1M subscribers. And I became Team Lead in small company in Ukraine. And all started from your channel and your talent to explain hard things as simple as possible. Thank you. All good wishes to you, your son and your family.
I'm here to tell you that thanks to your tutorials, your teaching style and your amazing knowledge I was able to find a job as a ReactJS developer with an amazing team who were surprised with all the knowledge that I learned from you! You helped me after struggling for almost a year without a job and it really brings a tear to my eye writing this while I'm doing my job and thinking about all the times I was watching your videos and dreaming of having a steady job one day. Thank you so much for everything you have done for me and everyone else, you are changing our lives... And with my 1st paycheck I also got your udemy courses on JS and React but it will never be enough for what I have learned from you! Thank you Brad
I finished making this same app using vanilla JS a couple days ago from your 20 Javascript Apps course on Udemy. Making this again with React, Hooks and Context API is the cherry on top! Thank you so much for this and I appreciate all of your professionally made content!
Hi Brad Sir, I initially started learning programming from your channel on 2017. Last Month I joined Microsoft, which is one of my dream company. I don't know whether you read this comment or not. I wanted to show my deep gratitude to you by becoming a patreon. Thank you once again. With love from India.
Hi Brad. Wanted to thank you a lot for all your videos. It's been a while now that I discovered your channel (and your udemy classes), and it helped me a lot to transition from my old field of study (Neurosciences...) to being now a full time engineer & front-end dev in a nice company. Everytime I have doubts, or something I don't understand, I end up coming back to your channel, and there is a reason behind it...you just have one of the best dev channels on youtube and your way of explaining things is great. So thanks again and all the best to you (and other fellow devs reading this)
@@Bebetter11111 I liked the research and the academic part of it, but when it came to practice in the field I didnt like it as much as what I expected. And in France it's quite hard to work as a researcher, not a lot of jobs, not well paid. So I decided to change 🙃
From a noob to a technical leader of a startup, I really enjoy watching your videos and have been still learning loads of new stuff. Thank u Brad! Would really like to see more complex projects on advanced React Hooks like useEffect and custom hooks!
The most important parts: 15:42 --> Setup the folders and files to create the GlobalContext 16:44 --> Set initial state 18:00 --> Create the Global Context 18:44 --> Create the provider component 21:00 --> Create the reducer 22:53 --> Wrap the App with the global provider 24:03 --> Access the Global State 35:55 --> Set State through context
If you need to reset the "add transaction" form, just add these two lines: setText(''); setAmount(''); at the end of the AddTransaction() function in AddTransaction.js file. Great tutorial, thaks a lot!! :)
You're the best explainer of these concepts. I like how you actually talk through the code and explain what and why you are doing something rather than just say "next we do this, then we do that" like other instructors.
Usually people do it because they expect more, or just hating, some people find your videos useful and some others not, for example beginners will find this thrilling but people more advanced will just take a look and move on, sometimes leaving a dislike, but thats just how things are
Thank you so much. This is the first React project I coded along from beginning to the end. I am sure I'll understand how everything speak with each other as I continue. This gives me hope.
I've been watching this channel for year now, and I can tell, that you are one of the few people on TH-cam who actually helped me to learn something and achieve some of my goals! Thanks for the awesome content! Congratulations on your well deserved success!
Thanks for all these videos brad. I had always a negative ATT towards js but this channel changed my whole perspective and kept me loving it. Many thanks from Kenya.
You're just spechless sir, We're blessed that we've got instructor like you, so that we can buy courses in just in price of food in udemy, god will bless you, keep making courses sir .
Brad thank you, ever since I started pursuing Web development you have been a great mentor and a role model for me. Your content is appreciated. I am from South Africa !
Congratulations on the 1 MILLION subscribers...VERY DESERVED for all that you teach us. And I greatly appreciate you building something with the context-api..I needed more practice.
Just that I needed! Thanks Brad, I always recommend your material to everyone that want to start to learn development or some senior mates that are curious about JS/Frontend stack
I tried to do the addTransaction() myself and was so frustrated, not realizing that I was passing in a string and not a number. Like what do you mean reduce is not a function?
Great work again Brad. I am going to follow on from this tutorial and update the projects I have worked on from the Vanilla JS course by creating them in React. I've done this before and I always find it refreshing to not have to invoke so many createElement() calls!
Hi can I reverse values stored in variables while destructuring. Like I have an array= [1,2,3,4] let [a,b,c,d] = [...array]; a stores 4, b stores 3 and so on?
Haha, I was thinking about this project the other day. I've only done the modal one so far. I wrote my own expense tracker in python a long time ago, and it basically eliminated all my overdrafts overnight, so this is a really awesome project, for sure. I think this one is more interesting, because if you had it on a server you could track a whole household and you would be free to use different devices.
FIRST OF ALLL CONGOOO FOR THE 1M Subs Brad. Just irrelevant, but the shade of blue which you used on the thumbnail was typescript react (JSX would be slight lighter). I was literally thinking that you were combining typescript template with all these other tech haha.
Great tutorial. Thanks a bunch. 37:28: Why did you spread the current state (...state) in the return object? Why is it needed ? Delete works perfectly without this, and only filter.
Thank you so much for sharing with us Brad!! Looking forward your react applications course in the future.. And really really wish that you consider converting your React course and MERN course that you already have on Udemy into MERN with Mysql/sequelize, while still using JWT for login,passport for social media, jwt routes admin/users, bcrypt, etc... The vast majority of Nodejs/react courses online have been made with MongoDB, therefore the market is really thirsty for MERN sql Technology! (Mysql/sequelize) Thank you so much for all your efforts and your help!
Brad. Thank you so much.. I can't thank you enough for all you've done for the community and most especially the next generation of developers. Can't wait to have the next video.
Thank you brad for your content i started following you last year and also looked into your udemy courses and i have not been the same THANK YOU very much....
instead of having to pass every function like (deleteTransaction) to the value property of the provider. we could pass dispatch instead. and use that dispatch on our components and leave our GlobalState neat and clean. (e.g): dispatch({type: "DELETE_TRANSACTION", id: props.transaction.id})} className={props.transaction.amount < 0? 'minus' : 'plus'}> {props.transaction.text} {sign}${Math.abs(props.transaction.amount)}x thank You brad an amazing tutorial like always.
Oh my GOD congratulations for the 1M subs. I'm very happy to get frequently notification from your channel. Keep up working hard to achieve your various goal
Great!! hope to see more projects using React for the frontend and Ruby on Rails APIs backend, also using bulk upload from CSV to load data to the database. Really appreciated!!
This video came out at the perfect time!! I wanted to learn hooks and context and then you released this video. Fantastic video as always, keep up the great work!!
Hi sir, I'm going through the this tutorial, but I'm having an issue, when I add an item and amount and press add transaction. That item is not updating into the list... Can anyone tell me why is this and how to fix
This is such a beautiful and interesting project.I have enjoyed the full tutorial.Thanks a lot Brad Traversy for your effort to building such an amazing react project
How can we keep the transactions from deleting in history after refreshing the page without having the backend. After adding a few transactions i want to hold all the previous ones from clearing on refreshing the page.
Here is part 2 where we take it a step further and build a backend API with Node/Express/MongoDB - th-cam.com/video/KyWaXA_NvT0/w-d-xo.html
@@blockcoder8129 Hi, thanks for the code but I tried your code and it is throwing me an error " Cannot read properly 'apply' of undefined". If possible, can you please help me out with that. Thanks
Hi there - this seems very useful. Can you please share the video link for the plain vanilla javascript version of this app that you mentioned you converted to react in this video? Many thanks.
appreciate ur work man!!
@@syednoman84 I think the Vanilla JavaScript version is in his 20 Web Projects Udemy Course. Only the React version has a TH-cam Video
Bard will you provide the correct structure to follow for react ... For Big application How to maintain Context API ,, Need some Folder Structure,
Three years ago I tried to find simple and understandable video about the whole new and scary world of JS. And found this small channel with 15k subscribers where cool big guy explained basic stuff about JS. And after three years I still watch almost every video from Brad.
And now you, Brad reached 1M subscribers.
And I became Team Lead in small company in Ukraine.
And all started from your channel and your talent to explain hard things as simple as possible.
Thank you. All good wishes to you, your son and your family.
Thank you so much :) That comment made my day....
@Vladyslav Pokidin +
Yeah I definitely owe this dude.
Hoping that I had stumbled here back then
Lovely...
I'm here to tell you that thanks to your tutorials, your teaching style and your amazing knowledge I was able to find a job as a ReactJS developer with an amazing team who were surprised with all the knowledge that I learned from you!
You helped me after struggling for almost a year without a job and it really brings a tear to my eye writing this while I'm doing my job and thinking about all the times I was watching your videos and dreaming of having a steady job one day. Thank you so much for everything you have done for me and everyone else, you are changing our lives... And with my 1st paycheck I also got your udemy courses on JS and React but it will never be enough for what I have learned from you! Thank you Brad
thereis not any tutorial video on thus channel,only projects,how did u learn?
Actually It Helped me a lot to Understanding the React, reducer Concept. Thanks a lot Mr. Brad Sir, you're the Best in your way
Today I went to an engineering college for a lecture and I recommend your channel learning different technologies
ruchir saxena that’s awesome. Thank you
One of the best parts about this channel is being capable of explaining anything so that even a layman can understand in details.
Thought you would be on a week long binger after hitting 1million lol. I guess its just back to the lab for Brad :)
Nope, nothing stops :) just keep going
And that's what gets someone a million subs! Great work ethics!
Brad will soon be at 2 millions!
Brad is at 2M
I finished making this same app using vanilla JS a couple days ago from your 20 Javascript Apps course on Udemy. Making this again with React, Hooks and Context API is the cherry on top! Thank you so much for this and I appreciate all of your professionally made content!
Hi Brad Sir, I initially started learning programming from your channel on 2017. Last Month I joined Microsoft, which is one of my dream company. I don't know whether you read this comment or not. I wanted to show my deep gratitude to you by becoming a patreon. Thank you once again. With love from India.
Congrats on the job
Congratulations bro 🥳
DEEPAK MAZA TU MITRA BANU SHAKTOS KA
❤🎉congratulations
Congrats
whoever convinced you to remake this application in react did the right thing
Hi Brad.
Wanted to thank you a lot for all your videos. It's been a while now that I discovered your channel (and your udemy classes), and it helped me a lot to transition from my old field of study (Neurosciences...) to being now a full time engineer & front-end dev in a nice company.
Everytime I have doubts, or something I don't understand, I end up coming back to your channel, and there is a reason behind it...you just have one of the best dev channels on youtube and your way of explaining things is great.
So thanks again and all the best to you (and other fellow devs reading this)
You left Neurosciences for Developer/engineer...you didn't like Neuroscience or was it too hard? just curious...
@@Bebetter11111 I liked the research and the academic part of it, but when it came to practice in the field I didnt like it as much as what I expected. And in France it's quite hard to work as a researcher, not a lot of jobs, not well paid. So I decided to change 🙃
From a noob to a technical leader of a startup, I really enjoy watching your videos and have been still learning loads of new stuff. Thank u Brad! Would really like to see more complex projects on advanced React Hooks like useEffect and custom hooks!
Hey Brad, congrats on 1M subs! Very well deserved! Learned a lot from your vids. Thanks for all the great content!!
djenigma 👆🏾this! Thank you Brad!
Thanks :) and you are welcome!
The most important parts:
15:42 --> Setup the folders and files to create the GlobalContext
16:44 --> Set initial state
18:00 --> Create the Global Context
18:44 --> Create the provider component
21:00 --> Create the reducer
22:53 --> Wrap the App with the global provider
24:03 --> Access the Global State
35:55 --> Set State through context
If you need to reset the "add transaction" form, just add these two lines: setText(''); setAmount(''); at the end of the AddTransaction() function in AddTransaction.js file. Great tutorial, thaks a lot!! :)
thanks for this comment :)
Done this 😁
You're the best explainer of these concepts. I like how you actually talk through the code and explain what and why you are doing something rather than just say "next we do this, then we do that" like other instructors.
I seriously don't understand why would anyone click the dislike button? how bored are people? thanks for the vid Brad!
Usually people do it because they expect more, or just hating, some people find your videos useful and some others not, for example beginners will find this thrilling but people more advanced will just take a look and move on, sometimes leaving a dislike, but thats just how things are
Thank you so much. This is the first React project I coded along from beginning to the end. I am sure I'll understand how everything speak with each other as I continue. This gives me hope.
I've been watching this channel for year now, and I can tell, that you are one of the few people on TH-cam who actually helped me to learn something and achieve some of my goals! Thanks for the awesome content! Congratulations on your well deserved success!
Was planning on building one of these, and boom! Traversy uploaded a video about it. Great vid!!
Easily the best teacher on TH-cam, heres to hitting 2 million, well done sir
One should just buy all your courses and run through em! Great job
I'm posting this comment here so that each time someone likes it, It will boost my moral to continue learning React
Here, boost your moral💻
no
The best money iv'e ever spent was buying your courses. Thank you brad for making it easier for us ! you're a true hero!
420 balance, well played brad
When you ran npm start an ad started on youtube. Blew my mind.
great video man , in arabic we say "chokran lak" as thank you 😎
Thanks for all these videos brad. I had always a negative ATT towards js but this channel changed my whole perspective and kept me loving it. Many thanks from Kenya.
i think you're become a hero because you try shere your information for us
I really love this vid. Even though I didn't watch the crash course before watching it. Cz it made me want to learn react.
been a developer for a little bit and Brad has saved me at work mutliple times haha
Terrific tutorial. Bought your reactjs: front to back course a few weeks ago. Very well done and complete. Thanks for everything.
You're just spechless sir, We're blessed that we've got instructor like you, so that we can buy courses in just in price of food in udemy, god will bless you, keep making courses sir .
I followed this and converted it to use Redux instead of Context, great video, really easy to follow. Thanks!
Brad solved "+amount" problem as a legend!
You're absolutely amazing! The community is blessed to have you around to guide us all.
Much love from India!
This one video will give complete understanding of hooks with global state. Thank u brad again
Hello Brad, 1 million subscribers - congratulations . I wish you all the best in the future. You're doing a great job. Thanks.
Well done on 1M! You have been very helpful.
Brad thank you, ever since I started pursuing Web development you have been a great mentor and a role model for me. Your content is appreciated. I am from South Africa !
Congratulations on the 1 MILLION subscribers...VERY DESERVED for all that you teach us. And I greatly appreciate you building something with the context-api..I needed more practice.
I was just going to do this, take the expense tracker and make it into a react app for practice.
I guess Brad read my mind.
Congratulations for 1M+ subscribers Sir..
You deserved 100M+
Thanks for this React tutorial :)
Thanks. I learned a lot about useReducer, useContext and createContext.
Just that I needed! Thanks Brad, I always recommend your material to everyone that want to start to learn development or some senior mates that are curious about JS/Frontend stack
Amazing tutorial.
Context API explanation and implementation were very understandable.
Thank you, and congratulations on 1M subs.
I had this idea too. I completed the exchange rate calc in vanilla yesterday and the react version of it today.
dont have enough words to appreciate your efforts for students like me
you do have a gift for bringing these new web technologies down to a practical level! very grateful for all these videos you make 🙏 🙏 🙏
Congrats on 1 million, Brad.
best teacher ever
even better than ones on my university
congratulate Brad u cross one million subscriber and i am big fan of u since 2018.
Hugs from Hamburg, Germany man. ;). I’m starting on a new job and needed react. You teached me to survive I hope :) thanks so much. 😘
This tutorial is really crazy, i understood perfectly. many thanks.
WOOOOW, thats amazing! I've learned a lot! Thank you so much!!!!
Always appreciate the content. You're a major reason I know anything at all in this silliness. Congrats on the 1 mill!
I tried to do the addTransaction() myself and was so frustrated, not realizing that I was passing in a string and not a number. Like what do you mean reduce is not a function?
Hearty congratulations for your 1M subs. My best wishes to get more and thanks for all your knowledge sharing.
Great work again Brad. I am going to follow on from this tutorial and update the projects I have worked on from the Vanilla JS course by creating them in React. I've done this before and I always find it refreshing to not have to invoke so many createElement() calls!
Nice!! I just completed this in your 20js projects. Gonna knock this out today. Congrats on the subs and continued incredible work.
Although I didn't understand everything, I still followed through the entire course. Now onto part 2! :D
Congrats man!! Its 1M.. really happy, proud amd thankful... enjoying your Udemy courses as well...keep up the good work
Woooh! This was my first project in React! And yeah, as usual, Brad rocked!
Will try to implement some project on my own😊😊
Boom! 1M! The best of the best and the happiest of the happiest, sensei! The universe is just.
Such an awesome tutorial . Just today I was asked many questions from context API , would be a blessing if the vedio was released yesterday.
Hi can I reverse values stored in variables while destructuring.
Like I have an array= [1,2,3,4]
let [a,b,c,d] = [...array];
a stores 4, b stores 3 and so on?
@@kaushikakash8092 just do [d,c,b,a] = [...array]
Haha, I was thinking about this project the other day. I've only done the modal one so far. I wrote my own expense tracker in python a long time ago, and it basically eliminated all my overdrafts overnight, so this is a really awesome project, for sure. I think this one is more interesting, because if you had it on a server you could track a whole household and you would be free to use different devices.
FIRST OF ALLL CONGOOO FOR THE 1M Subs Brad.
Just irrelevant, but the shade of blue which you used on the thumbnail was typescript react (JSX would be slight lighter). I was literally thinking that you were combining typescript template with all these other tech haha.
Got the update that Traversy dropped a new video. Time to start a new project !
Great tutorial. Thanks a bunch.
37:28: Why did you spread the current state (...state) in the return object? Why is it needed ? Delete works perfectly without this, and only filter.
Thank you so much Brad for Teaching Hooks in react! I very grateful to use this as a reference!
Nice one Brad, what can we do without him. So its 1m sub👌🏽👌🏽👌🏽.
Great tutorial as always. I have just realized the power of React.🤓
Thank you so much for sharing with us Brad!!
Looking forward your react applications course in the future..
And really really wish that you consider converting your React course and MERN course that you already have on Udemy into MERN with Mysql/sequelize, while still using JWT for login,passport for social media, jwt routes admin/users, bcrypt, etc...
The vast majority of Nodejs/react courses online have been made with MongoDB, therefore the market is really thirsty for MERN sql Technology! (Mysql/sequelize)
Thank you so much for all your efforts and your help!
Dude that was challenging my head still hurts but one day I’ll come back to this video and say it was easy
Brad. Thank you so much.. I can't thank you enough for all you've done for the community and most especially the next generation of developers. Can't wait to have the next video.
Thank you so much Brad for this amazing and well-thought tutorial. It helps a lot to have the designs taken care of so that I can focus on code.
Honestly I watched tons of tutorials of React Hooks but this one literally gets me through to it :D
Thank you brad for your content i started following you last year and also looked into your udemy courses and i have not been the same THANK YOU very much....
Email bro I'm also from Uganda.. Still pushing on
mukwaya78@gmail.com
congrats on 1 MILLION SUBSCRIBERS
instead of having to pass every function like (deleteTransaction) to the value property of the provider. we could pass dispatch instead. and use that dispatch on our components and leave our GlobalState neat and clean.
(e.g):
dispatch({type: "DELETE_TRANSACTION", id: props.transaction.id})} className={props.transaction.amount < 0? 'minus' : 'plus'}>
{props.transaction.text} {sign}${Math.abs(props.transaction.amount)}x
thank You brad an amazing tutorial like always.
Learnt a lot from this project, thanks man.
Oh my GOD congratulations for the 1M subs. I'm very happy to get frequently notification from your channel. Keep up working hard to achieve your various goal
coderInProgress thank you 😊
Awesome, I wanted to see context and reducer at work and you drop a video doing just that. Cheers Brad
for expense tracking use Moon Invoice application this app have so many features
Congratulations for 1M Brad!
Great!! hope to see more projects using React for the frontend and Ruby on Rails APIs backend, also using bulk upload from CSV to load data to the database. Really appreciated!!
Thank you sir .... You really make it understandable... Grateful
5:03 UI + basic Compenents
15:09 Global State
Congrats Brad on 1M Subs! Love your channel here in Kenya. Thank you for the great content. God bless!
Man, No words for your support and these videos. You are Programmer sever
This video came out at the perfect time!! I wanted to learn hooks and context and then you released this video. Fantastic video as always, keep up the great work!!
Congratulations for 1M! You deserve it :)
Hi sir, I'm going through the this tutorial, but I'm having an issue, when I add an item and amount and press add transaction. That item is not updating into the list... Can anyone tell me why is this and how to fix
This is such a beautiful and interesting project.I have enjoyed the full tutorial.Thanks a lot Brad Traversy for your effort to building such an amazing react project
How can we keep the transactions from deleting in history after refreshing the page without having the backend.
After adding a few transactions i want to hold all the previous ones from clearing on refreshing the page.
Thank you for this video!!! you have made it so simple for me to work with reducer and context.
Traversy Media with the quality content once again
ALL HAIL @Traversy Media OVERLORDS!!!!
Awesome Project! Hopefully I will make it's backend after I learn the backend stuff.
another masterpiece by Brad, and this time freestyled!