Live data from Hacker News

Viewing profile — e111077

e111077

HN member
Joined
Mon, Oct 17, 2016, 1:53 PM UTC
HN karma
64
Public activity
31 items

About e111077

No profile information was provided.

Recent public activity

  1. comment
  2. comment
    Comment #36854702

    In terms of low decoupling: It sometimes makes working with _slotted_ children in a non-lock-in way difficult in terms of state synchronization as opposed to props.children in Reac…

  3. comment
    Comment #36808329

    I worked on adding some of these. We pull them from each of the company's respective brand identity page + some manual SVG cruft elimination to decrease code size.

  4. comment
    Comment #36807935

    Yeah, this is not an issue for very well-designed WCs like https://shoelace.style or in cases where it's not necessary like https://modelviewer.dev/

  5. comment
    Comment #36807882

    unstyled web components: look into ING Lion Web Components (Lit-based) or @generic-components/components (vanilla)

  6. comment
    Comment #36347296

    Likewise with Lit, but that is besides the criticism that he was making earlier

  7. comment
    Comment #36345331

    In that case why not just SSR lit on the backend and send that? It sounds like an unfair criticism otherwise

  8. comment
    Comment #34829450

    When one writes `import 'lit'` the browser doesn't know where Lit is. This is called a bare module specifier vs an absolute import specifier: import '/home/user/project/node_module…

  9. comment
    Comment #34783519

    Web Components are Custom Elements + Shadow DOM, and this makes half of that equation server-side. The other half works as a client-side hydration strategy until they churn out wha…

  10. comment
    Comment #31843192

    let's be real. nobody is crushing anybody in development speed with webpack. Use rollup esbuild or vite

  11. comment
    Comment #31255208

    FWIW preact is 4kb minzipped (+ 700 bytes for htm package templating) while lit-html is 3.3kb minzipped. Author also talks a lot about the issues with losing control of the compone…

  12. comment
    Comment #31255136

    Not sure if you're aware of it, or saying it's missing features, but lit-analyzer adds compile-time linting and type checking while lit-plugin provides IDE integration of the tool

  13. comment
    Comment #31255125

    > talks about lit-html which is a fully incompatible replacement for Polymer. lit-html is completely different from web components and not meant to replace Polymer. lit-html is a l…

  14. comment
    Comment #29009829

    FWIW this is the explanation by the lead on the project: https://twitter.com/BenDelarre/status/1453038054503944194 TL;DR they're using everything that's on the standards track - ju…

  15. comment
    Comment #27176587

    HTMLUnknownElement https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknown...

  16. comment
    Comment #27176544

    I don't think anyone is really targeting JS-less users. It's mostly for faster first renders and the examples of JS-less is to typically show something has been SSR'd and not yet h…

  17. comment
    Comment #27176520

    You described a Custom Element a Web Component is a branding phrase for component that uses the four following specs: * Custom Elements * Shadow DOM (seems to be optional in practi…

  18. comment
    Comment #27176495

    HTML Imports did exist and was the general authoring idea for web components, but it didn't work exactly as you described and Apple and Mozilla shut it down. Polymer had to release…

  19. comment
    Comment #27048055

    I think when they released Catalyst Lit was still in beta

  20. comment
    Comment #27047805

    This site tells you which frameworks work well with custom elements. And if they play well with custom elements, then they're usually fine with web components https://custom-elemen…

  21. comment
    Comment #27047785

    Shadow DOM is crawlable for a few years now

  22. comment
    Comment #27047768

    Issues arise when trying to pass objects or add event listeners for custom events due to how React specifically handles this stuff. You often have to use refs

  23. comment
    Comment #27047759

    You can get lit-specific advice on their Slack. The link is on their docs site

  24. comment
    Comment #27047731

    The Lit team has a labs project called @lit-labs/react that will automatically create a react wrapper: https://www.npmjs.com/package/@lit-labs/react

  25. comment
    Comment #24084877

    Heyo, been working with WCs full time as well: 1. Libraries like lit-html have syntax highlighting and tooling to do type checking. For the developer: https://marketplace.visualstu…