<story><title>Introducing React Native [video]</title><url>https://www.youtube.com/watch?v=KVZ-P-ZI6W4</url></story><parent_chain><item><author>bobajeff</author><text>I wish they&amp;#x27;d go into more detail on why they can&amp;#x27;t make an app like paper in the browser environment. They mentioned something about Web Workers being crippled and later on explained how their framework puts JavaScript in it&amp;#x27;s own thread by default.&lt;p&gt;I&amp;#x27;m also wondering why in their experience no one ever comes close to native widgets when imitating them in a Web apps.</text></item></parent_chain><comment><author>btown</author><text>&amp;gt; Web Workers being crippled&lt;p&gt;As Tom said, you can&amp;#x27;t do layout or prerendering-to-bitmap in a web worker: there&amp;#x27;s no DOM or Canvas API unless you bring your own, and despite Emscripten it&amp;#x27;s foolhardy to bring your own. If you want to decode a JPEG, you have to do that on the main thread and pass it to the worker right now (except in Firefox with its nonstandard ImageData API). [0] Which brings us back to square one.&lt;p&gt;&amp;gt; no one ever comes close to native widgets&lt;p&gt;I think a lot of that has to do with the fact that the iOS UIKit internal code for animations is closed source - the best anyone can do is reverse engineer, move their thumb and see how things react. What are the Bezier points on the curve used for the fade when you &amp;quot;back-swipe&amp;quot; from the left of the screen? Good luck figuring that out - it&amp;#x27;s possible, but only barely. Tom hinted at the idea that if developers were better organized, they might be able to replicate things better, but it would still be an uphill battle.&lt;p&gt;[0] &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/Worker/Functions_and_classes_available_to_workers&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;developer.mozilla.org&amp;#x2F;en-US&amp;#x2F;docs&amp;#x2F;Web&amp;#x2F;API&amp;#x2F;Worker&amp;#x2F;Func...&lt;/a&gt;</text></comment>
<story><title>Introducing React Native [video]</title><url>https://www.youtube.com/watch?v=KVZ-P-ZI6W4</url></story><parent_chain><item><author>bobajeff</author><text>I wish they&amp;#x27;d go into more detail on why they can&amp;#x27;t make an app like paper in the browser environment. They mentioned something about Web Workers being crippled and later on explained how their framework puts JavaScript in it&amp;#x27;s own thread by default.&lt;p&gt;I&amp;#x27;m also wondering why in their experience no one ever comes close to native widgets when imitating them in a Web apps.</text></item></parent_chain><comment><author>je42</author><text>Indeed. If I look at Slack which I believe is actually a wrapped HTML5 on iOS + Android it looks already very good.&lt;p&gt;But it doesn&amp;#x27;t have a lot of gestures+animations+images, so that might be the difference.</text></comment>