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
20082026
-
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) -
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.
comment by gunn · 2020-01-01 · in Reasons to Learn Redux as a JavaScript Developer -
…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
comment by gunn · 2019-04-20 · in Show HN: Tetris Implemented in ClojureScript -
…simple and requires none of the boilerplate. It also allows perfect type support with typescript. https://github.com/gunn/pure-store
comment by gunn · 2019-02-09 · in Ask HN: How do you manage state in your React application? -
…support. You just use regular JS to manipulate data and the library updates the store immutably. https://github.com/gunn/pure-store
comment by gunn · 2018-05-26 · in Mint-lang: a language for the front-end web -
…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