S2 E19 - Dynamic Module + Component Loading Using any Observables
Download and listen anywhere
Download your favorite episodes and enjoy them, wherever you are! Sign up or log in now to access offline listening.
Description
Single Page Applications (SPA) have many advantages, including increased interactivity, responsiveness, and user experience. However, a SPA often requires sending large chunks of JavaScript code to the client. This code...
show moreAs Angular developers, you are likely familiar with the built-in router's ability to lazy load child modules via routing. This is a big win for all of us. But, what if you could dynamically load modules and components at runtime? The Angular Show panelists (Aaron, Jennifer, and Brian) sat down with Jay Cooper Bell to learn more about this solution and the approach that he has used. Jay is the CTO and co-founder of Trellis, a fundraising platform for non-profit organizations, and a frequent contributor and speaker in the Angular community. Jay, and the team at Trellis, created rx-dynamic-component, an open-source library that enables Angular developers to dynamically load and mount a component at runtime using RxJS Observables. Jay teaches us about what he learned building the library along with the advantages of lazy-loading components using an Observable's next notification as the observer.
Don't forget to subscribe so you can continue to hang out with the Angular Show panelists as we learn from the Angular community!
Show Notes:
rx-dynamic-component source code:
https://github.com/trellisorg/platform/tree/master/packages/rx-dynamic-component
rx-dynamic-component demo:
https://github.com/trellisorg/platform/tree/master/apps/rx-dynamic-component-demo
https://blog.angular.io/ivys-internal-data-structures-f410509c7480
Video about Memory Management: https://www.youtube.com/watch?v=Zs-d6_FPfMY&t=1s
Article: https://www.nytimes.com/interactive/2021/05/24/us/tulsa-race-massacre.html
Connect with us:
Jay Bell - @JayCooperBell
Brian F Love - @brian_love
Jennifer Wadella - @likeOMGitsFEDAY
Aaron Frost - @aaronfrost
Information
Author | ng-conf |
Organization | ng-conf |
Website | - |
Tags |
Copyright 2024 - Spreaker Inc. an iHeartMedia Company
Comments