Hacker GitHub

← All repos

gitaarik/lit-state

View on GitHub ↗ ★ 155 JavaScript

Simple shared component state management for LitElement.

8 mentions on Hacker News by 1 person: 1 story, 7 comments · first 2020-12-04 · latest 2026-02-21

Mentions per year 8 mentions · busiest year 2023 (4)
20082026
  1. …for Lit, with the same mindset. With it you won't have to pass props everywhere all the time. https://github.com/gitaarik/lit-state
  2. I made a state management lib for Lit, that's just as lightweight (258 lines) and intuitive: https://github.com/gitaarik/lit-state I've used it extensively myself, for creating complex web apps with many (nested) components interacting…
  3. …web components lib. It works really simple, and it's simple to use. Much more intuitive than React. https://github.com/gitaarik/lit-state
  4. …cleaner than any other state library I've used before. And it integrates very nicely with Lit. [0]: https://github.com/gitaarik/lit-state
  5. …much nicer to work with, and that your total project size is much smaller. [0] https://lit.dev/ [1] https://github.com/gitaarik/lit-state
  6. I created some libs for Lit to make things easier: LitState: Shared component state management - https://github.com/gitaarik/lit-state LitStyle: Shared component styles - https://github.com/gitaarik/lit-style LitDocumentEvent: Global event…
    comment by gitaarik · 2023-07-22 · in Lit: Simple, fast web components
  7. I created LitState for this: https://github.com/gitaarik/lit-state
    comment by gitaarik · 2023-07-22 · in Lit: Simple, fast web components
  8. ▲ 2
    LitState: Simple shared app state management for LitElement
    story by gitaarik · 2020-12-04 · 0 comments