Vue JS 2 Tutorial #26 - Life-cycle Hooks

preview_player
Показать описание
----- COURSE LINKS:

---------------------------------------------------------------------------------------------

========== PSD to WordPress Playlist ==========

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

Awesome! Couldn't have been taught more elegantly and clearly.

harrisongreeves
Автор

Damn man, I wish everything were taught like this.

nosajghoul
Автор

This is a very clear explanation. Thank you!

jimmathin
Автор

Awesome, great tutorial! Thank you and hugs from Brazil 🇧🇷

jotave
Автор

This lesson took me long to finish, but I made it. Thanks a lot, man!

Cho
Автор

Thank you so much man .. very very clean, neat and properly handled, chapeau !

minou
Автор

Great! Many thanks! How did you manage to master everything about web development! amazing!

chenqu
Автор

Hi Shaun, quick question. I made a pagination out of your lesson 33 example (displaying blog posts). I have a prev & next button, a current page / total page. I also change the number of items to display.

So let's say I have 100 blog posts, showing 10, I have 10 pages, now I'm on page 4 out of 10, I switch back to "show 50 articles at a time" I'm on page 4 out of 2. I of course want that to become 2/2.

I just wanted to know if this code indeed belonged in the updated() hook ?:

if(this.page > this.totalPage){
this.page = this.totalPage;
}

Thanks :)

christophebeylemans
Автор

Thank you, very much for a clear explanation.

milosh
Автор

When in the component life-cycle are child components created? After or before created?
I need to pass in database data to a child component, and when I loaded the data in mounted(), the child prop was null.

samlaf
Автор

you are so great man...beat the shit out of other tutorial

jianhenghuang
Автор

how can i connect vue and node from a reason i am trying to connect them meaning node as a server (express) and when i try to server the html page and load to it the vue components i can't do that

pilearn
Автор

Why you say it's better to use created() than mounted() to fetch data? I see no diference

FinkPatricio
Автор

7:23 Semicolons... Who even needs them?

michakowalski
Автор

Dude, you are following the anti pattern by directly mutating the prop ninjas using this.ninjas.pop(). This should never be done

anmolgurung
join shbcf.ru