Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    50comments
  2. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    25comments
  3. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    30comments
  4. OpenJev(openjev.com ↗)
    193comments
  5. Show HN: Rickub – The Smartest Git in the Universe(rickub.com ↗)
    4comments
  6. I don't like passkeys(hawksley.dev ↗)
    405comments
  7. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    discuss
  8. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    8comments
  9. Bend 2 and the Vibe-Coding Trap(liampwll.com ↗)
    196comments
  10. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    13comments
  11. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    discuss
  12. Jemalloc 5.4.0(github.com/jemalloc ↗)
    67comments
  13. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    discuss
  14. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  15. The scourge of x86 emulation(fex-emu.com ↗)
    63comments
  16. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    129comments
  17. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    172comments
  18. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    53comments
  19. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    287comments
  20. Qwen 3.8 Omni Flash(qwen.ai ↗)
    106comments
  21. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    566comments
  22. BeanShell3 in Development(beanshell.github.io ↗)
    7comments
  23. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    28comments
  24. How to Write with an LLM(sockpuppet.org ↗)
    175comments
  25. When the fractional part of a float fixes your shader(crocidb.com ↗)
    16comments
  26. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    57comments
  27. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    1comments
  28. HEIF Heist: image parser RCE exploit(heif-heist.com ↗)
    2comments
  29. AI is an elite crime spree(thebignewsletter.com ↗)
    1comments
  30. Replacing Pull Requests with Delta(zed.dev ↗)
    60comments

The failed promise of Web Components

3 pointsby 6y agoblog.carlmjohnson.net
3 comments
6y agoHN ↗

I wanted to use web components for our current project but, as the OP points out, there's no help for iterating through data or even binding data to a source, which is where most of the useful part of a UI comes from. We went with Angular because the components all include data binding and iteration and data testing attributes.

6y agoHN ↗

There are plenty of libraries that let you do declarative react templating for web components. I work on LitElement & lit-html, and there are other project list StencilJS. They both let you use fast and convenient libraries to build the component while retaining the native interop of web components.

6y agoHN ↗

Right, there are libraries that let you use Web Components as part of a templating system. But notice what's going on with that: WC are now just an implementation detail. You can just as well swap out the Web Component layer and it makes no difference to what's built above it. (For example, Vue CLI has a mode where it will bind to <my-app> instead of <div id="app">. Cool, but does that mean Vue is a Web Component in a meaningful sense?) That's a sign that WC aren't actually solving real problems. There are a couple of semi-useful pieces but no coherent whole worthy of the name.