ReactJS, React Native and Relay, this looks likely a right programming model for JS based web applications. 

Learn how to use JavaScript libraries and techniques to help engineers develop great mobile experiences ever more efficiently.

F8 2015 – React Native and Relay – Bringing Modern Web Techniques to Mobile
Meet the engineers who code Facebook