In the last weeks, I have created a webinar series to help developers move from Visualforce to LWC. Weren’t you able to join? No worries, here you have the recordings, both in English and in Spanish!Continue reading “Webinar Series: Visualforce to LWC”
This month I had the pleasure to present at several community groups to talk about the announcements and features showcased at TDX 2020. I spoke about Salesforce Functions, new Apex features, Code Builder and Lightning Web Runtime (including a demo!).Continue reading “TrailheaDX 2020 Global Gatherings”
Los test unitarios son un must para conseguir un código mantenible, blindado frente a errores y fácil de depurar. En definitiva aplicaciones de CALIDAD.Continue reading “Tests Unitarios para LWC === Calidad! [ESP]”
Lightning Web Components is the new programming model that Salesforce released early this year. If you don’t know what it is about, check this post I published some time ago.
One of the keys to learn how Lightning Web Components work is to understand how components can communicate between each other. The communication patterns are different from Aura, and are one of the culprits of Lightning Web Components superb performance.Continue reading “Lightning Web Components Communication”
Same as Aura components, Lightning web components have a lifecycle managed by the framework. The framework is in charge of:
- In the creation phase, create the components, insert them into the DOM, and finally render them.
- In the destroy phase, remove them from the DOM.
You can check nice diagrams for both phases here.
During these phases, there are hooks that you can use, either to inject some extra code or to directly override the behaviour: