Stretch
Dev tools
layout engine
SHOW HN2019
How HN took it
9 positive, 10 neutral or asking, 0 mixed, 4 critical, out of 23 comments about the project. Thread score +0.17.
Idea: 2 for, 1 againstDocs: 1 for, 1 againstExecution: 2 for, 0 againstDesign: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Pragmatic approach of testing against Chrome with web platform tests.
From 2 comments
Flexbox is pretty mature though. I'm as much of a critic of the Chrome-only Web as anyone, but in this case it's reasonable to test against Chrome. We have the Web platform tests…
pcwalton on HNI like this approach :) It’s pragmatic.
dmitriid on HN
Pure Rust alternative to Yoga bindings.
From 2 comments
This looks great! I've been using Yoga in my Rust UI framework via the yoga-rs bindings, and this looks like a nice pure-rust alternative to try using instead.
iBelieve on HNAs the author of the bindings, I'm happy for Stretch to exist :) All I wanted was a flexbox engine in Rust, and it's great to now have a pure Rust solution!
bschwindHN on HN
Objections
Testing only against Chrome risks replicating Chrome bugs.
From 2 comments
> Stretch is tested against Chrome to ensure 100% web compatibility Erm, no. That’s testing Chrome compatibility (though it’s probably the only one easy enough to test). Chrome…
dmitriid on HNIt would be a very good idea to run the tests against Firefox as well as Chrome to avoid replicating Chrome bugs that the Chrome team might later fix.
roca on HN
Grid layout is missing.
From 2 comments
Interesting! It seems this is a rewrite of Yoga, by the same author, seen by another comment in this thread. So why start again using flex box as a layout engine? For example,…
jarjoura on HNSuper-excited to hear that Grid layout will be coming soonish. Yoga has been fantastic in making Flexbox available "everywhere", but Grid is wonderful for UI layout in a way that…
nicoburns on HN
Requests
Add CSS Grid layout support.
From 2 comments
Interesting! It seems this is a rewrite of Yoga, by the same author, seen by another comment in this thread. So why start again using flex box as a layout engine? For example,…
jarjoura on HNSuper-excited to hear that Grid layout will be coming soonish. Yoga has been fantastic in making Flexbox available "everywhere", but Grid is wonderful for UI layout in a way that…
nicoburns on HN
Run tests against Firefox as well as Chrome.
From 1 comment
It would be a very good idea to run the tests against Firefox as well as Chrome to avoid replicating Chrome bugs that the Chrome team might later fix.
roca on HN
Questions
How does it compare to Yoga?
From 2 comments
How does this compare to Yoga? https://yogalayout.com/
openbasic on HNInteresting! It seems this is a rewrite of Yoga, by the same author, seen by another comment in this thread. So why start again using flex box as a layout engine? For example,…
jarjoura on HN
How to use it as a web developer moving to mobile?
From 1 comment
As a web guy wanting to break out into mobile development, I’m very intrigued by what it says but I have no idea how to make use of this. Can someone give me a light overview?
whytaka on HN
Alternatives named
Yoga
From 2 comments
How does this compare to Yoga? https://yogalayout.com/
openbasic on HNThis looks great! I've been using Yoga in my Rust UI framework via the yoga-rs bindings, and this looks like a nice pure-rust alternative to try using instead.
iBelieve on HN
Apple AutoLayout
From 2 comments
Interesting! It seems this is a rewrite of Yoga, by the same author, seen by another comment in this thread. So why start again using flex box as a layout engine? For example,…
jarjoura on HNWhat problems have you experienced with Apple’s auto layout?
jahewson on HN
ConstraintLayout
From 1 comment
Have you tried ConstraintLayout ? It is based on Cassowary constraint resolution algorithm just as Apple's AutoLayout. Is it missing something compared to Apple's solution ?
on_and_off on HN