Settings

Theme

Alfa: An Alternative to Redux or Mobx

github.com

2 points by lsm 7 years ago · 2 comments

Reader

ry_ry 7 years ago

Looks interesting - Apart from not requiring an additional file, what are the main improvements over connect()ing state to containers with redux?

Edit. isn't updating the store on internal state (albeit not via setState, but it's functionally the same) change essentially 2way data binding? One of the things I hated most about knockout.js was funky state stuff when arbitrary components were asynchronously updating common state .

Am on my phonio tho so I may well have missed something critical here!

lsmOP 7 years ago

30 seconds Gif demo:

https://github.com/lsm/alfa/blob/master/docs/alfa.gif

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection