TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Painting with Code: Introducing our new open source library React Sketch.app

787 pointsby pouwerkerkabout 8 years ago

19 comments

mshenfieldabout 8 years ago
Basically, people:<p>• Design a set of re-usable components in Sketch that get turned into JavaScript widgets and used in a product<p>• The JavaScript widgets are are modified, extended, and changed. Maybe a line here, a color here. Designers now sometimes have component designs don’t quite match what they look like in the wild<p>• This tool now lets them re-create the Sketch file from the components as the look in the wild. That means when designers work on whole pages, made up of widgets, they’ll look exactly like they would in the wild.
评论 #14199905 未加载
评论 #14199695 未加载
评论 #14199754 未加载
jongoldabout 8 years ago
Hi HN!<p>Super excited to open source this — I&#x27;m trying my best to bring design &amp; engineering closer together at Airbnb (and in the world), this has been a super useful project.<p>I&#x27;ll be hanging out in this thread all day if you have any questions &#x2F; want to flame me :)
评论 #14197297 未加载
评论 #14196450 未加载
评论 #14196556 未加载
评论 #14199895 未加载
评论 #14196326 未加载
评论 #14201622 未加载
thebouvabout 8 years ago
So, to be clear, a month ago there was an announcement about an app called Sketch (renamed to Snack now apparently) that was a playground for React code, but people said it was a bad name choice because Sketch is already a ui&#x2F;ux dev&#x2F;design tool in this space.<p>But this tool is related to that ui&#x2F;ux version of Sketch (but with&#x2F;for React), and not the mis-named Sketch (that was for React)?<p>Naming is fun.
评论 #14196648 未加载
评论 #14196880 未加载
评论 #14196713 未加载
评论 #14196625 未加载
udklabout 8 years ago
Do I understand the use-case correctly ? :<p>1) Create designs in sketch (mainly core components)<p>2) Code those designs in React that will generate the React translated version of the sketch<p>3) Use the react generated sketch to build non-core component designs in sketch . .<p>4) When the core design changes, update the react component to match the new designs<p>5) All the other components in the sketch will automatically start using the new updated sketch component
评论 #14207938 未加载
评论 #14197866 未加载
评论 #14197670 未加载
scrollawayabout 8 years ago
This looks great. And Sketch is incredible. I wish there was something like it available on Linux, or I could run it on Linux somehow. Seeing how important a tool it&#x27;s becoming to web design makes me uneasy as it&#x27;s shutting out my ability to do anything design related :&#x2F;
评论 #14200586 未加载
1raeabout 8 years ago
Would it be possible to use this on the server to create complicated PDF files for download (react -&gt; sketch -&gt; pdf), without using something like this current process (react dom -&gt; html, css -&gt; phantomjs -&gt; pdf)?
评论 #14197610 未加载
评论 #14200334 未加载
FanaHOVAabout 8 years ago
This will come really handy, thank you. I&#x27;m trying to build a better infrastructure at work; do you have anything written up about how you work at Airbnb? Your &quot;bring design &amp; engineering closer together&quot; mission sounds like what I&#x27;m trying to accomplish, would like to read&#x2F;chat more about it.
评论 #14196629 未加载
评论 #14198360 未加载
afandianabout 8 years ago
What is a &quot;Sketch document&quot;? I didn&#x27;t see a link or explanation in that page.
评论 #14198266 未加载
ziikutvabout 8 years ago
The website slows down my chrome browser to the point where it lags and I have to backout.
评论 #14201882 未加载
z3t4about 8 years ago
The classic way for reusing style and layout in web development is to have the style in CSS-files. CSS-files have a URL, so you can include CSS across web pages and take advantage of CDN&#x27;s and browser caching. CSS have it&#x27;s problems, but CSS is far superior to in-lining the style al la components. It&#x27;s good practice to use the native browser components, the component might work very different on a smart-watch, vs a big screen PC, native HTML component will work on both devices! And native HTML components also work with JavaScript turned off! and for visually impaired people using different kinds of screen readers.
vladgurabout 8 years ago
Jon was gracious enough to visit us at CollectiveHealth to describe their DLS processes as well as give us a glimpse of what was coming.<p>Design Systems and related tooling makes total sense at certain scale and I can definitely see both designer and developer efficiency gains from consistent building blocks that Design Systems provide. Jon I&#x27;m curious if this would still make sense if AirBnB weren&#x27;t so invested in React and React Native.
评论 #14208692 未加载
xrjnabout 8 years ago
We have just recently started using React for new products that our team develops, doing the design in Sketch. This was already a huge improvement in efficiency compared to doing design in Photoshop and building products with Angular. I&#x27;m super excited to try this library on our next project and see how it can streamline the design and development cycle.
throaway4242about 8 years ago
It&#x27;s great to see a company like airbnb developing and open sourcing so much cool stuff. Are you guys hiring developers?
评论 #14197757 未加载
brijeshb42about 8 years ago
A boilerplate project to create react-sketchapps<p><a href="https:&#x2F;&#x2F;github.com&#x2F;brijeshb42&#x2F;react-sketchapp-boilerplate" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brijeshb42&#x2F;react-sketchapp-boilerplate</a>
mixedbitabout 8 years ago
Sketch.app name similarity with SketchUp can be a source of some confusion.
评论 #14197634 未加载
tlrobinsonabout 8 years ago
Very cool.<p>It would be even cooler if it could render React components written for the web without modification, maybe in a transparent webview. I&#x27;m guessing Sketch would need to add support for that.
评论 #14208709 未加载
chadlaviabout 8 years ago
I&#x27;d really like to try to integrate some of this design philosophy (and what your team lays out in that DLS blog post, too) in my team&#x27;s design flow. Thanks for this!
hoodoofabout 8 years ago
It&#x27;s not really clear WHAT this is - why would I use it, what would I get if I used it?
fiatjafabout 8 years ago
I don&#x27;t use anything from Airbnb (and no, I&#x27;m not a hotel or against the &quot;sharing economy&quot;, much to the contrary).
评论 #14198534 未加载