Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    97comments
  2. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    35comments
  3. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    60comments
  4. Show HN: Microsoft Office running with Wine on Linux with no virtualization(github.com/tombert ↗)
    27comments
  5. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    86comments
  6. OpenJev(openjev.com ↗)
    201comments
  7. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    85comments
  8. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    8comments
  9. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    3comments
  10. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    175comments
  11. I don't like passkeys(hawksley.dev ↗)
    486comments
  12. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    3comments
  13. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    9comments
  14. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    30comments
  15. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    22comments
  16. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  17. Jemalloc 5.4.0(github.com/jemalloc ↗)
    70comments
  18. The scourge of x86 emulation(fex-emu.com ↗)
    67comments
  19. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    174comments
  20. BeanShell3 in Development(beanshell.github.io ↗)
    8comments
  21. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    147comments
  22. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    discuss
  23. Qwen 3.8 Omni Flash(qwen.ai ↗)
    114comments
  24. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    1comments
  25. AI is an elite crime spree(thebignewsletter.com ↗)
    20comments
  26. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    31comments
  27. Show HN: Rickub – The Smartest Git in the Universe(rickub.com ↗)
    14comments
  28. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    609comments
  29. How to Write with an LLM(sockpuppet.org ↗)
    187comments
  30. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    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.