React Js How to REFRESH a Component | Best Practice

React Js How to REFRESH a Component | Best Practice

React with Masoud

2 года назад

80,164 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@rushikeshjadhav7748
@rushikeshjadhav7748 - 12.08.2023 00:41

Thankyou sir 🙏🙏

Ответить
@ulugbekvaxidov7339
@ulugbekvaxidov7339 - 21.05.2023 16:06

Thank you very much.Nice vid.

Ответить
@RockstarGamer4531
@RockstarGamer4531 - 25.04.2023 13:56

Doubt: I have a list of users and after clicking on user line i will be redirected to the route of user details component. On that component there is a delete button. And after deletion i am navigating back to users list. But sometimes its not getting updated. So my question is how to refresh a component from another component. Meaning how could i notify my list to refresh on click of delete button?

Ответить
@alexei000
@alexei000 - 15.04.2023 05:27

i had a similar problem, i had an element with different url, i just had to add on the useEffect the url parameter, so every time it changes it refreshes the page. I hope this helps someone

Ответить
@houssemkoubaa3746
@houssemkoubaa3746 - 13.04.2023 03:54

can i do this using class component ?

Ответить
@celestial8610
@celestial8610 - 09.03.2023 10:51

this solution happen if you add new data. how about mutate an old data inside the array state?

Ответить
@didheemosesebastian821
@didheemosesebastian821 - 26.01.2023 20:30

Finally i find a video thanks its really helpful ❤

Ответить
@nusratnigar3209
@nusratnigar3209 - 24.01.2023 14:48

my components are not refreshing on server while i am changing the link .what is reason behind it?

Ответить
@netsaosa4973
@netsaosa4973 - 13.01.2023 04:13

I incremented the like total by 1

Ответить
@sravanimaragani2338
@sravanimaragani2338 - 04.01.2023 20:26

Hi sir how to refresh the table data with button please do the videos on the ways of refreshing concepts

Ответить
@lesjoni8347
@lesjoni8347 - 29.12.2022 10:44

But what's solution if i map array of users, and post new one into array on server. How can i update old array on the page without refreshing page?

Ответить
@Ahmedahmed-qg5ep
@Ahmedahmed-qg5ep - 11.12.2022 20:40

Thank you so much. It saves lots of time.

Ответить
@kelvinpenha9669
@kelvinpenha9669 - 08.12.2022 20:49

Thanks!!

Ответить
@isaaclee7411
@isaaclee7411 - 23.10.2022 16:25

You saved me, bro

Ответить
@letswitswa7411
@letswitswa7411 - 11.10.2022 20:18

Didnt solve my problem

Ответить
@kirarevcrow
@kirarevcrow - 07.10.2022 09:47

When you say refresh, it's actually misleading. You should say "re-render" which is a main concept in React. Plus, you're not suppose to forceUpdate unless you're doing something wrong with React or it's a very typical situation.

Ответить
@alfonsopayra
@alfonsopayra - 06.10.2022 12:30

just the video i was looking for XD thanks buddy

Ответить
@elkhanhamet2561
@elkhanhamet2561 - 23.09.2022 06:31

thank you sir, you've got a new subscriber 😊

Ответить
@davidgallego1216
@davidgallego1216 - 20.09.2022 22:16

Thank you this is a great video, really help me.

Ответить
@trondnado
@trondnado - 15.09.2022 14:25

Hi! Nice vid. Is there a repository for this video?

Ответить
@Vimal108_-
@Vimal108_- - 11.09.2022 23:52

Youre a life saver!

Ответить
@ismaelhernandez4898
@ismaelhernandez4898 - 09.09.2022 20:40

Thanks for this video, it really help me, new sub!

Ответить
@MyKreber
@MyKreber - 05.09.2022 11:57

Thank you very much man! That helped me so much! Great video, really useful. Thanks again!

Ответить
@jaysingh5402
@jaysingh5402 - 26.08.2022 11:57

Can you make one video on auto refresh ?

Ответить
@haha-eg8fj
@haha-eg8fj - 05.08.2022 18:59

Thanks I learned some new technique today.

Ответить
@tusharnain6652
@tusharnain6652 - 03.08.2022 14:12

you accent so bad, but you make good content, so no hate.

Ответить
@wevertonsantiago8124
@wevertonsantiago8124 - 02.08.2022 17:03

Thanks so much!

Ответить
@sadickminnih1921
@sadickminnih1921 - 20.06.2022 13:08

How to use this same principle when we delete element via api ?

Ответить
@marimuthur9456
@marimuthur9456 - 16.06.2022 05:24

Your really talented it's fabulous explanation thank you so much😊🙏🏼

Ответить
@mohamed-ali2859
@mohamed-ali2859 - 15.06.2022 23:33

Thank you

Ответить
@amirkian1181
@amirkian1181 - 14.06.2022 16:13

Where R U From?

Ответить
@Mehdi_______
@Mehdi_______ - 17.05.2022 21:20

Ewolla ba in lahheh Iranit

Ответить
@svloex
@svloex - 01.03.2022 23:52

thanks

Ответить