AiA 257: The Easiest Way to use Angular Elements with Tomas Trajan

AiA 257: The Easiest Way to use Angular Elements with Tomas Trajan

Episode SummaryIn this episode of Adventures in Angular Tomas Trajan, an angular elements expert, breaks down how to use angular elements for the panel. Tomas explains that angular elements are great for very specific use cases. Tomas starts by describing a scenario with a large enterprise with tens of developer teams and hundreds of developers, they have a few choices on how to organize their applications. The first option is a messy monolith. The second option is using monorepos and Nx. The final option is to use a multi-spa solution. Tomas explains how the multi-spa solution works. This solution consists of 80 stand-alone applications, on the same page and share components. Tomas outlines the common problems when using the solutions and how using angular elements combat those problems. The panel moves on to considers how you know if you should use angular elements in this way. Tomas provides two questions to ask yourself when deciding whether or not to use angular elements. The first question is, are you in a multi-spa scenario? The second question is, are components shared across applications? If the answer is yes for both of those questions then angular elements can only help the situation. In last week’s episode of Adventures in Angular the panel interviewed Victor Savkin about using monorepos and Nx. The panel asks Tomas to compare the strategy of using monorepos and Nx to his strategy of using multi-spa with angular elements. He explains why an enterprise might choose multi-spa over monorepos. He also gives the reasons the organization he is working with chose to work with multi-spa. Aaron asks for clarification for using elements in these multi-spa projects. Tomas goes into great detail, breaking down the way multi-spa and angular elements work together. They walk through it together using consumer profiles as an example. Tomas explains that using his approach all the applications update components all at once using angular elements. The panel considers the benefits of using Tomas’s approach and which scenarios it would work best for. Aaron expresses his appreciation for all the work Tomas did and the problems he overcame then bundling his solution in a library together so developers can just use it without all the pain. The library can be found on Github. Tomas tells the panel that there has already been some community contribution to the library. He describes some of the pull requests they have received along with the plans they have for angular elements. The topic turns to mismatched versioning and how the bundle will work. Tomas explains that the only problem they have seen with mismatched versioning is with zone.js. He shares some workarounds to the problem and promises that they are working on a solution. The episode ends with the panel listing all the major benefits that an enterprise can gain from using the multi-spa and angular elements approach. It will save them money, allow teams to work together, create and isolation. Tomas also shares some of the new features available in angular elements today. Panelists
  • Aaron Frost
  • Brian Love
Guest
  • Tomas Trajan
Adventures in Angular is produced by DevChat.TV in partnership with Hero DevsSponsors LinksPicksBrain Love:Shai Reznik:Aaron Frost:Tomas Trajan:Special Guest: Tomas Trajan.

Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-angular--6102018/support.

Avsnitt(468)

Web Components for Cross Framework Development with Nishu Goel - AiA 431

Web Components for Cross Framework Development with Nishu Goel - AiA 431

Nishu Goel joins the Adventure to talk about how Web Components can be used in Angular applications and how to use them to share functionality across multiple applications written in different framewo...

14 Nov 202444min

Profiling Angular Apps with Gil Fink - AiA 430

Profiling Angular Apps with Gil Fink - AiA 430

The illustrious and well-regarded Gil Fink joins the Adventures in Angular panel to talk about profiling your Angular apps. Profiling consists of finding bottlenecks, and memory leaks among other prob...

24 Okt 202444min

Leveraging Event Sourcing: Enhancing Scalability and Consistency in Front-end and Back-end - AiA 429

Leveraging Event Sourcing: Enhancing Scalability and Consistency in Front-end and Back-end - AiA 429

In this episode, Lucas, Armen, and Subrat are joined by Luis Galeas, the CEO and founder of Ambar. Today's discussion dives into the fascinating world of event sourcing, exploring its intricacies in b...

17 Okt 202454min

Is There Benefits from Working From Home with Will Gant - AiA 428

Is There Benefits from Working From Home with Will Gant - AiA 428

In this episode of Adventures in Angular, Will Gant, author of Remote Work talks about working from home and working outside of the client's office. He and Brooks share their experience with working t...

10 Okt 20241h

Data Mocking with Dave Cooper - AiA 427

Data Mocking with Dave Cooper - AiA 427

In this episode of Adventures in Angular the panel interviews Dave Cooper, who recently gave a talk at AngularConnect about using Mock Data. Dave starts by explaining more about his talk and sharing t...

3 Okt 202442min

Managing Component State the Sane Way with Freddy Montes - AiA 426

Managing Component State the Sane Way with Freddy Montes - AiA 426

Freddy Montes joins the adventure to discuss how he and his team manage state in their Angular components.Many development teams instinctively reach for a solution like ngrx when they're building thei...

26 Sep 202444min

Cross Platform Angular with Richard Sithole - AiA 425

Cross Platform Angular with Richard Sithole - AiA 425

Have you ever thought how nice it'd be to write your apps for desktop and mobile alongside the web? Richard Sithole joins the adventure to discuss how to pull a desktop app and mobile app into your re...

12 Sep 20241h 1min

Micro Frontends and Zoneless Angular: Bridging Framework Interoperability - AiA 424

Micro Frontends and Zoneless Angular: Bridging Framework Interoperability - AiA 424

Dive deep into the latest trends and challenges in the development world. Lucas, Armen, and Subrat Mishra are joined by a special guest,  Rakia Ben Sassi, a Google Developer Expert in Angular. In this...

5 Sep 202451min

Populärt inom Business & ekonomi

badfluence
framgangspodden
rss-jossan-nina
varvet
uppgang-och-fall
rss-borsens-finest
avanzapodden
bathina-en-podcast
svd-tech-brief
rss-kort-lang-analyspodden-fran-di
fill-or-kill
lastbilspodden
24fragor
borsmorgon
rss-inga-dumma-fragor-om-pengar
rss-dagen-med-di
rss-den-nya-ekonomin
dynastin
kapitalet-en-podd-om-ekonomi
tabberaset