Hacker GitHub

← All repos

bcherny/undux

View on GitHub ↗ ★ 1,563 TypeScript

⚡️ Dead simple state for React. Now with Hooks support.

9 mentions on Hacker News by 1 person: 5 stories, 4 comments · first 2017-10-29 · latest 2018-03-30

Mentions per year 9 mentions · busiest year 2018 (6)
20082026
  1. If you want less boilerplate and type safety, consider Undux - https://github.com/bcherny/undux
  2. Then you might like Undux - that's exactly how it works. https://github.com/bcherny/undux
    comment by bcherny · 2018-01-25 · in Why is setState asynchronous?
  3. …with the goal of being 100% typesafe. It's the only Redux I've seen with that level of safety. [0] https://github.com/bcherny/babydux
  4. …for it where targeted emitters wouldn't be a better fit. There is certainly middleware support (see https://github.com/bcherny/babydux#effects ). Unlike Redux, middleware fires after the state has been updated, not before. The effect is to…