Thank you Frank. I really enjoy the quality that you put into these videos. I look forward to watching your blazor videos from this point forward. Thank you very much and stay safe and well.
Compiler can choose to not re-render the component if the values displayed in the component are not changed even after an event. If there is an event but it’s not changing any state then the component most likely won’t re-render.
when you are explaining about the OnAfterRender method , that method only renders the comopent once , if you clicked a button like in your example and see the results on the console, the component is not being render , why you seeing is only the result of calling the Console method , but the compoent still not being rerendered, that is why OnAfterMethod has the bool firstRender param , to proof that the component renderes only once , unless you change from page or refresh the page oviouslly will render once one more time...
Thank you Frank. I really enjoy the quality that you put into these videos. I look forward to watching your blazor videos from this point forward. Thank you very much and stay safe and well.
You are very welcome! You too. Happy New Year!
💎My New Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture
ruclips.net/video/C8xIE_3I7JQ/видео.html
Very helpful. Thank you, Frank!
Good stuff. Thanks for sharing!
You are welcome!
Compiler can choose to not re-render the component if the values displayed in the component are not changed even after an event. If there is an event but it’s not changing any state then the component most likely won’t re-render.
Nice man
when you are explaining about the OnAfterRender method , that method only renders the comopent once , if you clicked a button like in your example and see the results on the console, the component is not being render , why you seeing is only the result of calling the Console method , but the compoent still not being rerendered, that is why OnAfterMethod has the bool firstRender param , to proof that the component renderes only once , unless you change from page or refresh the page oviouslly will render once one more time...