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
20082026
-
…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
comment by gitaarik · 2026-02-21 · in Web Components: The Framework-Free Renaissance -
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…
comment by gitaarik · 2025-09-03 · in Lit: a library for building fast, lightweight web components -
…web components lib. It works really simple, and it's simple to use. Much more intuitive than React. https://github.com/gitaarik/lit-state
comment by gitaarik · 2025-08-11 · in Show HN: Reactive: A React Book for the Reluctant (written by Claude) -
…cleaner than any other state library I've used before. And it integrates very nicely with Lit. [0]: https://github.com/gitaarik/lit-state
comment by gitaarik · 2023-11-28 · in Web Components Eliminate JavaScript Framework Lock-In -
…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
comment by gitaarik · 2023-10-26 · in Web components will outlive JavaScript frameworks -
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 -
I created LitState for this: https://github.com/gitaarik/lit-state
comment by gitaarik · 2023-07-22 · in Lit: Simple, fast web components