We’ll use fetch to delete items on the server when the client triggers a removal, and update the UI with a success message once the delete operation on the server has succeeded.
Great course, definitely a nice addition to include some functional concepts and thorough test suite.
Just finished your course Sir, and I must say - I very much enjoyed it. Not just for the prolific amount of technical information you taught, but also for the repetitive nature in which you executed tasks (and I mean this in a good way). By teaching us how to use Jest for TDD, how to build and implement services (including correct REST verbs), etc etc, and then repeatedly utilizing that lesson it drilled into my head HOW to get a thing done, mechanically and theoretically. I find this type of teaching very useful, much like a martial arts class. By my 10,000th punch I am starting to learn how to punch.
Anyway, I am learning React for the first time and this course has given me a ton of confidence. Thank you, keep up the good work.
Jason,
Thank you so much for the kind feedback. I'm really glad this was helpful for you. Good luck in your React journey!
Thank you for this course. I'm mostly from an Angular background and trying to sharpen my React skills - your course was a good length and well explained.
I was tempted not to watch this course as it seemed I already knew most of itscontent, but I'm happy I watched it: there were lots of pro tips, plus showing us nothing less than creating a custom router! Awesome serie: thanks Andrew!
I just wish there was... closure :D Ended quickly but wonderful tutorial.
Great course, well done, thank you
Thank you. Great course and great inspiration on how helper functions should be organized and used
Very nice course Andrew! Just one small comment regarding to temporary messages. I think it's a good practice to assign timeout to variable and remove it during unmounting component. In other case, if you unmount component before those 2500ms you will try to set state of component which doesn’t exist anymore. It may occur errors in some cases.
wouldnt it be better to remove from state only if the server call succeeds? (simple thing...but important i think).
great course btw! would love to see more react courses from Andrew!