Hacker GitHub

← All repos

gunn/pure-store

View on GitHub ↗ ★ 149 TypeScript

A tiny immutable store with type safety.

6 mentions on Hacker News by 1 person: 0 stories, 6 comments · first 2018-04-10 · latest 2020-04-09

Mentions per year 6 mentions · busiest year 2018 (2)
20082026
  1. Try mine! https://github.com/gunn/pure-store Super simple, 100% test coverage, 100% typesafe if using typescript, absolutely no boilerplate.
    comment by gunn · 2020-04-09 · in Redux – Not Dead Yet (2018)
  2. Here's the library I wrote to replace redux for myself: https://github.com/gunn/pure-store It's the simplest API I could think of, has excellent type support, and handles immutability for you.
  3. …is a library I made for very simple but efficient state management. The entire source is this file: https://github.com/gunn/pure-store/blob/master/src/index.ts
  4. …simple and requires none of the boilerplate. It also allows perfect type support with typescript. https://github.com/gunn/pure-store
  5. …support. You just use regular JS to manipulate data and the library updates the store immutably. https://github.com/gunn/pure-store
  6. …after finding redux boilerplate heavy. I haven't publicized it yet, but you can see it here - https://github.com/gunn/pure-store It supports full typescript typing, and uses Immer to allow very direct store updates with immutability.
    comment by gunn · 2018-04-10 · in Learn React by building a web app