piotrwitek/typesafe-actions
View on GitHub ↗ ★ 2,408 TypeScript
Typesafe utilities for "action-creators" in Redux / Flux Architecture
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2018-10-27 · latest 2019-12-09
20082026
-
…you still don't support for specifying same reducer for many actions (for example as an array - https://github.com/piotrwitek/typesafe-actions ). The immutable update logic however is amazing and I am glad I got introduced to it by you!
comment by damidekronik · 2019-12-09 · in Ask HN: Why GraphQL APIs but no Datalog APIs? -
…typing to it. Redux without middlewares needs additional code to work with static typing. See: https://github.com/piotrwitek/typesafe-actions Redux expose actions and reducers to developer, which is a state management mechanism that…
comment by valand · 2019-10-09 · in Why Redux Makes You a Better JavaScript Developer -
…return { ...state, isLoading: false, isErrorLoading: true } default: return state } } [1]: https://github.com/piotrwitek/typesafe-actions#1-classic-js-...
comment by emptysea · 2018-10-27 · in Fear, trust and JavaScript: When types and functional programming fail