Blazor Advanced: Component Lifecycle Methods

  Рет қаралды 3,229

Just Blazor Programming

Just Blazor Programming

Күн бұрын

Пікірлер: 11
@jacobm2501
@jacobm2501 2 жыл бұрын
Thank you for this video, I learned some things and it helped me slow down and take lifecycle events more seriously. I want to say I am not a Blazor expert but I am sure that the initial onafterrender is called when the server creates the page markup but before it is sent to the client, or maybe as it is being sent. The next render happens during the actual client render. Again I am not an expert but I'm pretty sure it is something along those lines.
@josemariasandeecastro6102
@josemariasandeecastro6102 2 жыл бұрын
You do not mention the SetParametersAsync method which gest called before OnInitialized
@justblazorprogramming
@justblazorprogramming 2 жыл бұрын
Ya i forgot to mention that portion, the only reason why is because you are more likely to interact and find more value in the other methods than that one however i may revisit these methods in later videos. Thanks for the comment.
@ivanstoskovic3816
@ivanstoskovic3816 2 жыл бұрын
So, general conclusion is that if order of lifecycled method is important i should use regular (non-async lifecycle methods) if it is not, I should use async methods?
@justblazorprogramming
@justblazorprogramming 2 жыл бұрын
No that is not a good way to do this. What i am saying the video is that you will have to determine the order based on the component relationships between each other and what they are calling (I.E component parentage or if you are trying to get data from a database), i know i didnt go into these topics super specifically but async methods or non-async methods sometimes dont guarantee the render order. You use async methods if you need to wait for something to finish loading, like data or a library you are using a CDN for. It should still follow the order but due to complications with the relationships of the different components interacting it might not be as straightforward especially if one needs to wait for the other to render. This topic can go deeper than this too. But you should follow the order presented when determining the render order as thats what components are built to follow.
@ivanstoskovic3816
@ivanstoskovic3816 2 жыл бұрын
@@justblazorprogramming Oh, ok. I understand now. I will try it to see behavior in different specific situations. Thank you very much for the answer. ☺️
@betimraqi
@betimraqi 2 жыл бұрын
If you can turn up the volume on the mic that would be great. Sitting on the bus in to work, a bit hard to hear
@justblazorprogramming
@justblazorprogramming 2 жыл бұрын
Here I'll do this, I'll raise the volume by 5 more db, and I will add a decibel per 100 subs until adobe premiere wont let me anymore. I'm just playing, but I'm surprised you are having trouble hearing cause I did increase the db gain but i guess ill increase it more. Thank you for letting me know.
@jkaryskycoo
@jkaryskycoo Жыл бұрын
Snap zoom is too annoying; people have been commenting that for a while on your videos. What do you think they add?
@justblazorprogramming
@justblazorprogramming Жыл бұрын
I know, you're not the first to say, i have improved over time and stopped my jingling keys philosophy in editing.
@rahulg2040
@rahulg2040 7 ай бұрын
Dude good video and explanation. But please be more articulate because i speed up ur videos I cannot understand you.
How To Make Reusable Templates In Blazor (W/ RenderFragment)
39:29
Just Blazor Programming
Рет қаралды 6 М.
How To Use Forms In MudBlazor (MudForm & EditForm)
26:13
Just Blazor Programming
Рет қаралды 10 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 9 МЛН
Is Blazor TRASH?!
21:28
Just Blazor Programming
Рет қаралды 8 М.
Whats Wrong With Blazor Adoption
19:27
Just Blazor Programming
Рет қаралды 4,6 М.
How To Use MudBlazor Tables (Pagination, Sorting, Filtering, Server Side Data)
20:21
Is Blazor Being NEGLECTED?! (In 2023)
7:55
Just Blazor Programming
Рет қаралды 2,3 М.
Dumbest Interview Question I Ever Got Asked
0:30
Just Blazor Programming
Рет қаралды 215
Gambling On A Fart And Losing
0:48
Just Blazor Programming
Рет қаралды 105
Правильный подход к детям
00:18
Beatrise
Рет қаралды 9 МЛН