Are Web Components A Good Choice?

  Рет қаралды 1,435

JS 2 brain

JS 2 brain

Күн бұрын

Пікірлер: 3
@CalifornianViking
@CalifornianViking 4 ай бұрын
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?
@js2brain
@js2brain 4 ай бұрын
Since Web Components are standard, you are quite free in your choice. If you don't want to build an SPA, you can use one of the meta frameworks like Next (React) or Nuxt (Vue). You could also use HTMX, if you prefer. If you are fine with an SPA, you could also build an app completely in Lit. The property and event binding to Web Components is very nice.
@orderandchaos_at_work
@orderandchaos_at_work 4 ай бұрын
Stencil -> React components works great. SSR with web components is a nightmare.
Real-time Hypermedia - Delaney Gillilan
31:55
UtahJS
Рет қаралды 2,6 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
Building a Design System Using Standard Web Components
29:36
Custom Events Dispatched from Web Components
20:32
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 2,7 М.
React vs Vue  - Template Syntax and State Management
15:48
HTML Web Components
18:47
Go Make Things
Рет қаралды 2,9 М.
The Story of Web Components
6:42
ui․dev
Рет қаралды 94 М.
Designing Modern UI with Lit Web Components
9:59
GitKraken
Рет қаралды 2,6 М.
Should You use Bun in 2024?
6:43
JS 2 brain
Рет қаралды 1,1 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН