Skip to content
stroid
Docswhy stroid
Docs for v0.0.2 - current npm release. Reduce your code, reduce your stress - never your functionality.

Why stroid?

stroid is a small, TypeScript-first state engine focused on selector-based subscriptions, mutable-friendly updates, and built-in persistence/sync. Use it when you want a tiny API with zero runtime dependencies and you like writing updates as plain mutations via setStore.

Where it fits

  • TypeScript projects that want inference without extra generics
  • Apps that need persistence and tab sync without middleware stacks
  • Teams that prefer mutable syntax with immutable outputs
  • Cases where bundle size matters (~8.6 kB min+gzip, zero deps)
  • Situations where Redux DevTools support is useful with minimal setup

Note

Choice is yours: stroid is flexible and can live alongside other state tools. Pick what fits your project and migrate gradually if you need to.