3 ms·
>Scroll buttons: up/down buttons, move the list 2 positions The first thing I would do in this situation is that I would sit down with Obi-Wan (or his hologram
by pierrec 11y ago
>Scroll buttons: up/down buttons, move the list 2 positions
The first thing I would do in this situation is that I would sit down with Obi-Wan (or his hologram) and try to smooth out any problematic requirements.
"Master Kenobi, I understand that you've required a custom scrolling system, and agree that it fits very well in the unified look you're going for. However, experience tells me that this is a move we might later regret and have to backtrack on. Custom scrolling systems are currently very poorly supported by browsers, and I strongly suggest that we use native scrolling. The scrollbar can be styled, but our styling will not appear in all browsers."
And then, upon closer inspection... I realize that most of the requirements are pretty convoluted.
- andy_ppp 11y agoYes this is very much a straw man... GraphQL and relay are designed to solve his issue with async requests and state, not flux.
- chadaustin 11y agoActually, I think this problem is great. Flux sounds great on paper but these edge cases keep coming up again and again. How do you handle optimistic updates? Request serialization? Garbage collection in your stores? (Or do you just let them grow forever?) Flux doesn't solve these problems. Relay, on the other hand, does a much better job of tackling the actual hard problems of application structure head on.
- Justsignedup 11y agoThe challenge has interesting bits: - ajax async requests - an event that causes events to stop - an event that causes the ui interactibility to stop - an event that causes more loading to be needed, triggering multiple simultaneous ajax async requests - a web socket communicating constant information which would cause current requests to get interrupted potentially The point is: many moving parts, each part affects the others. However, seriously Obi-Wan needs a better methodology.
- xanderjanz 11y agoSeveral of the requirements feel like the quirks of the authors implementation, rather than technological ideals. (Don't reuse previously fetched sith? Fetch each sith lord separately?)