Are Web Components A Good Choice?

preview_player
Показать описание

Web Components are a browser standard. But why should we care when we already have Components in React, Vue and Angular?

🕐 Timestamps:
00:00 - Intro
00:46 - Benefits of Web Components
01:59 - Drawbacks of WebComponets
05:02 - Replace with new screenshot
05:14 - Replace with new screenshot
07:18 - Decision making
Рекомендации по теме
Комментарии
Автор

Thanks for this honest and practical view of Web Components.
I personally believe that we have navigated down a dead-end path with the current approach to building web applications using Single-Page Applications (SPA). It looks like we are building monolithic applications running in the web browser with complex and highly dependent data (JSON REST data) interfaces to the back end. This approach makes it very hard to create mashups that can create a common user experience across multiple back ends.
Imagine that you are a company that has chosen three applications: finance application A, customer relationship management application B, and supply chain management application C. Each of these applications provides its own user experience. How can I build a front end that allows Alice in accounting to work across all three?
One option is for each application to use Web Components. All I would need to do is build a front end that consumes these components. What is the best way to do that?

CalifornianViking
Автор

Stencil -> React components works great. SSR with web components is a nightmare.

orderandchaos_at_work