You might be interested to learn how to integrate VueJS into a WordPress Plugin. VueJS is a JavaScript framework on top of which you can quickly write testable, scalable and efficient JavaScript code. Delicious Brains have produced an excellent article on how to integrate Vue 2 into a WordPress Plugin:
Read « Build A WordPress Plugin With Vue 2 » on Delicious Brains.