WeAreDevelopers LIVE • Nov 5, 2020

On tour with heroes == Moving from Angular to WebComponents

Benjamin Glusa

Are bloated Angular bundles slowing down your frontend? Discover how rebuilding the classic Tour of Heroes app with Svelte creates lightweight, framework-agnostic web components to future-proof your architecture.

Pause
Mute Enter Fullscreen
#1 about 3 min

Introduction and motivation for exploring new frontend frameworks

Continuous learning and exploring new technologies help development teams adapt to the ever-changing frontend landscape.

#2 about 4 min

Evaluating Angular trade-offs and the web components alternative

Angular's size and complexity create vendor lock-in, making simpler, framework-agnostic web components an appealing alternative.

#3 about 4 min

Scaffolding a Svelte project for the web application

Setting up a new Svelte application using the official template establishes a barebones foundation without heavy runtime dependencies.

#4 about 6 min

Creating a writable store to manage application state

Utilizing Svelte's writeable store provides a reactive mechanism for fetching and seamlessly managing remote API data.

#5 about 5 min

Building a component to display sorted list entries

Integrating the reactive data store explicitly into a component renders dynamically sorted list elements natively with minimal boilerplate.

#6 about 4 min

Implementing a full list component with parent properties

Exporting variables actively within a Svelte component neatly allows parent applications to pass downward parameters directly.

#7 about 8 min

Selecting items and building the component editing interface

Introducing a dedicated selection state accurately passes specific data entries seamlessly into an isolated editing view container.

#8 about 4 min

Implementing store update logic and handling save actions

Leveraging the store's built-in native update functionality quickly saves user edits globally and immediately replaces outdated local data blocks.

#9 about 4 min

Implementing unrouted component navigation using custom DOM events

Dispatching custom Svelte events neatly provides a reliable, lightweight way to conditionally toggle active visual components completely without routing modules.

#10 about 5 min

Building reactive search input using multiple derived stores

Combining writable inputs concurrently with primary global data stores inside derived mechanisms automatically triggers array filtering natively upon typing sequences.

#11 about 1 min

Reviewing the benefits of building with Svelte conventions

Svelte's compiler-driven approach fundamentally eliminates heavy runtime payloads, actively ensuring concise structural implementations and much fewer browser bottlenecks.

Matching moments

4:52 min

Core concepts and benefits of the Svelte framework

Markus Hatvan · LIVE

5:59 min

Integrating web components across popular javascript frameworks

Rowdy Rabouw Rowdy Rabouw · World Congress 2022

48 sec

Exploring alternative build tools and experimental web components

Sasha Shynkevich · LIVE

3:46 min

The rise of modern component-based frameworks and modular architecture

Sasha Shynkevich · LIVE

8:34 min

Exploring Angular component patterns and upcoming framework updates

Benedikt Starzengruber · LIVE

2:40 min

Analyzing legacy content systems alongside modern decoupled architectures

Dávid Lévai · LIVE