top | item 46419745

(no title)

wildpeaks | 2 months ago

Exactly why I banned React from my pipelines years ago, native Web Components + dispatchEvent gives you the modern web without bloat and churn, and Vite for a lightweight HMR thanks to native ES Modules.

Server-side you can use jsdom to polyfill document, it supports Web Components too.

discuss

order

nathias|2 months ago

web components are terrible and should not be used for modern development with the exception of very nieche use cases that require sandboxing

wildpeaks|1 month ago

Custom elements are web components, it's literally what the article is about