I would say Animation Worklets are the workers that will make an impact on delivering multithreaded UIs in web.
I would say Animation Worklets are the workers that will make an impact on delivering multithreaded UIs in web.
http://www.pocketjavascript.com/blog/2015/11/23/introducing-...
That being said, I think even smaller-scale things like state management and hitting APIs should be moved to workers. It all increases resilience and buys headroom for low-end phones.
That being said, I’ve been a web developer for over 5 years and have never actually decided to move tasks to web workers; it’s about time I change that.
I also find it weird when devs complain about the lack of shared state and how it’s some how a limitation. Messaging passing architectures haven proven key for modelling concurrency in many powerful languages and frameworks like Erlang/Elixir and Go channels to name a few.
Anyways thanks for writing this up. Proper breakdown and grouping will have unseen benefits for sure, and in this case, very seen :)