By pcwalton
> No one has ever implemented CSS with incremental layout in a way that is even close to being competitive with native UI code.
So this is a really broad statement and without further clarification it’s hard to pin down precisely what you mean. By incremental layout do you mean partial layout, or relayout after dynamic changes? For the former, it’s commonplace to use frameworks that will do the standard “UITableView” sort of optimizations in script. There is also CSS Containment coming soon to allow for these sorts of optimizations without having to use JS. For the latter, I don’t see how flexbox (for example) is worse than springs and struts, as it essentially is springs and struts. And for absolutely positioned UIs (the old way mobile apps were laid out), layout time of CSS is essentially zero.
Read more here: https://news.ycombinator.com/item?id=10644055
pcwalton comments on "Firefox OS Participation Hub"
No comments:
Post a Comment