News for hackers. Stuff that matters.
Re:First Impressions Using React Native by untog on Friday February 06, 2015 @01:41PM (#9010694)
IIRC, Web Workers have a really limited subset of functionality available to them, which adds a whole load of gotchas to anything like this.
Re:First Impressions Using React Native by azakai on Friday February 06, 2015 @01:52PM (#9010772)
It is somewhat limited, but using message passing to the main thread, you can render a UI or even use WebGL or Web Audio or anything else. See the link for an example with WebGL.
Re:First Impressions Using React Native by untog on Friday February 06, 2015 @01:58PM (#9010819)
Oh, I know. But it's rare that a webapp does things computational enough that it's worth the extra overhead - most lagginess is actually at the UI level, in my experience (and why virtual DOMs are so popular now).

I've seen Web Workers used in things like graphing libraries, though.