Full React Tutorial #31 - Deleting Blogs

preview_player
Показать описание
🐱‍💻 🐱‍💻 Course Files:

🐱‍👤🐱‍👤 JOIN THE GANG -

🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 🐱‍💻 Helpful Links:

🐱‍💻 🐱‍💻 Social Links:
Рекомендации по теме
Комментарии
Автор

Only 2 videos left! It's been such a life-changing week for

digiexploration
Автор

.blog-details button {
background: #f1356d;
color: #fff;
border: 0;
padding: 8px;
border-radius: 8px;
cursor: pointer;
}

JollyAZ
Автор

Its good to mention that useHistory has been changed to useNavigate in React 6.
const navigate = useNavigate();
navigate('/');

mohammadarjmandi
Автор

"Because I'm super lazy"
*grabs link from another component instead of the one on same page*

Tokur-zixf
Автор

best react tutorial i have watched in years so far

mohamedsameh
Автор

summary
to delete single post
1. inplement delete request with fetch api for example
fetch('api/${blog.id}', { method: 'DELETE' }
2. redirect to home page after click delete button
thats all !!!

maskman
Автор

I commented on the last video you put out, and then immediately realized you have released yet another iteration in the series. So, here we go again. Thanks Shaun!

CodingNuggets
Автор

I cannot stress enough how amazing this course is! I did try to learn react from other resources but some are so convoluted and some are just difficult or boring. You've done an amazing job, small chunks, digestible, clear.. man, if you even come to albufeira let me know.. Ahaha life changing !

dielanschamber
Автор

Yayyy! I completed, Mr. Ninja. Thank you for making this amazing tutorial series ❤

mabeleain
Автор

Best tutorial ever thanks a lot bro love you tons ❤❤

VishramR-ngiy
Автор

In react v6

useHistory replaced by useNavigate

import { useNavigate } from 'react-router-dom';

const navigate = useNavigate();

navigate('/');

A
Автор

Thank you for your efforts Shaun <3

Amauriking
Автор

Shaun: I'm super lazy, going to copy the endpoint from App.js
Also Shaun: *ignores the endpoint link just two lines above*

eniamza
Автор

Incredibly useful this tutorial, thank you very much 👏🏻👏🏻👏🏻

code-snippets
Автор

Thanks a lot for such a course i have enjoyed it so much and learn it with joy

ghostrider
Автор

In an app that uses a database and not just a json file, we wouldn't use the fetch method to delete right? You would have to use whatever database query language you're using say like SQL..?
How realistic is it that we would build a project like this without a database?

nick_jacob
Автор

Truely amazing tutorial!
Thanks for making it for free!

batebo
Автор

Does adding a new blog add to the DB.json data to simulate a real database? Thanks for the valuable tutorial. It’s really clear and well explained. Appreciated a 💯

abdiag
Автор

"Fingers Cross"

I like that word.. it sound fun

WazeAr
Автор

No more videos??? What about adding to Favorites / Cart?

kashmirtechtv