4 ms·
Nice! Any plans for working flux into there?
by sehr 12y ago
Nice! Any plans for working flux into there?
- spicyj 12y agoYup, we've just started recently. Too soon to give any value judgements on it but this article https://news.ycombinator.com/item?id=8248536 https://news.ycombinator.com/item?id=8248536 made a lot of sense to me and I'm cautiously optimistic about Flux overall.
- KurtMueller 12y agoGot any open source projects that use flux-react that we could take a look at?
- spicyj 12y agoNone yet, sorry.
- cliftonk 12y agoFor pages with a great deal of local/global state, we've taken a page from David Nolen's Om library and have a cursors library written for react using react's immutability helpers. See the example/repo @ https://github.com/caseywebdev/cursors https://github.com/caseywebdev/cursors IMO, pairing global page pub/sub with heavy local modification doesn't seem like a good pattern for effective state management. It seems less problematic at scale than two-way databinding but problematic nonetheless.