Hacker GitHub

← All repos

lit/lit-element

View on GitHub ↗ ★ 4,467 TypeScript

LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.

15 mentions on Hacker News by 6 people: 1 story, 14 comments · first 2018-05-24 · latest 2019-06-20

Mentions per year 15 mentions · busiest year 2018 (10)
20082026
  1. …to create the page. You can see it by typing `litElementVersions` in the JavaScript console. [1] https://github.com/Polymer/lit-element
    comment by gildas · 2019-06-20 · in Why I don't use web components
  2. My suggestion to you is to look into web components (e.g. https://github.com/Polymer/lit-element ) for theoretically re-usable components. React is optional for web development.
  3. …conversion. There is even separate syntax for setting props vs attrs. Check out the readme here. https://github.com/Polymer/lit-element I also normally use redux in my WC applications.
    comment by ergo14 · 2019-02-03 · in React as a UI Runtime
  4. …is bound to the DOM as strings" You can pass data as props instead of attrs, same as with react - https://github.com/Polymer/lit-element . I wonder why this pop's up all the time. It is true that polymer had quite a bit of limitations, but…
    comment by ergo14 · 2019-02-03 · in React as a UI Runtime
  5. - LitElement + Redux for frontend (web components) https://github.com/Polymer/lit-element - Golang + Postgres for backend
    comment by ernsheong · 2019-01-05 · in Ask HN: Go-to web stack today?
  6. …consideration for my go-to technology. [0] https://news.ycombinator.com/item?id=15058651 [1] https://github.com/Polymer/lit-element [2] https://github.com/Polymer/lit-html
  7. Try https://github.com/Polymer/lit-element for an alternative to VDOM, without the VDOM part. It's reactive and uses lit-html under the hood.
  8. Personally I like LitElement: https://github.com/Polymer/lit-element It's a super-lightweight base class for web components, and a descendant of the Polymer framework. A Material Design framework uses this:…
  9. …browsers. No CLI or custom tools needed, but also works with all the tools our there. Edit, link: https://github.com/Polymer/lit-element
  10. …to react elements. And only parts of the dom that changed actually do mutations - like with vdom. https://github.com/Polymer/lit-element#minimal-example
  11. Check out https://github.com/Polymer/pwa-starter-kit/wiki . It uses Redux and LitElement ( https://github.com/Polymer/lit-element )
    comment by ernsheong · 2018-06-13 · in Making Web Components Work
  12. …Check out https://github.com/Polymer/pwa-starter-kit/wiki for concrete examples using LitElement ( https://github.com/Polymer/lit-element )
    comment by ernsheong · 2018-06-13 · in Making Web Components Work
  13. …and lightweight web components: https://www.polymer-project.org/blog/2018-05-02-roadmap-upda... https://github.com/Polymer/lit-element Here's how you can get started: https://github.com/Polymer/pwa-starter-kit/wiki It's not paradise, there…
  14. The web components use SVG and are build on lit-element ( https://github.com/Polymer/lit-element ) as the web-component base. Rough.js can render to either canvas or SVG.