Главная
Study mode:
on
1
Intro
2
Choosing the right path is critical.
3
Modern Frontends
4
Single Page Applications (SPAs)
5
DOM Manipulation
6
What are Web Components?
7
Use Cases
8
Micro Frontends
9
Shared Components
10
Anatomy of a Custom Element
11
Selector String
12
JavaScript Class
13
Options Object
14
Bells & Whistles
15
Lifecycle Methods
16
HTML Templates
17
It's complicated...
18
Custom Element Libraries
19
Stencil
20
Modernization
21
AngularJS to Angular
22
Why Angular Elements?
23
Tightly Coupled
24
Dependency Injection
25
The Elements Upgrade Strategy
26
Set Up Bottom-up components Create vanilla j5 services with wrappers Convert routing and remove Elements
27
Setting Up Angular Elements
28
Add Angular Elements
29
Upgrading Components
30
AngularJS 1.7+ Helpers
31
ng-custom-element
32
Tip: Group into Modules
33
Sharing Data with Services
34
Off-Roading with JS
35
Wrap Shared JS Services
36
Inputs & Outputs
37
Indirection
38
Wrapping Up the Upgrade
39
Add Component Selectors
40
Switch Routing
41
Drop Elements
Description:
Explore the process of modernizing large frontend codebases using Web Components in this comprehensive conference talk. Learn how Web Components can bridge the gap between legacy and modern code, allowing for gradual migration without resorting to extreme measures. Discover the current Web Components landscape and evaluate their suitability for large legacy frontend migrations. Gain insights into overcoming architectural challenges in large-scale refactoring, with a focus on using Angular Elements to iteratively migrate AngularJS (1.x) to Angular (2+). Delve into topics such as Single Page Applications, DOM manipulation, custom elements, micro frontends, and shared components. Understand the anatomy of custom elements, including selector strings, JavaScript classes, and lifecycle methods. Explore custom element libraries like Stencil and learn about the Elements Upgrade Strategy for modernization. Get practical tips on setting up Angular Elements, upgrading components, sharing data with services, and handling inputs and outputs. By the end of this talk, acquire the knowledge to effectively modernize large frontends using Web Components, enabling legacy code and modern frameworks to work together seamlessly. Read more

Modernizing Large Frontends with Web Components

NDC Conferences
Add to list
0:00 / 0:00