There’s more

If you open Vue Devtools, you will be able to see the mutators committed in the Vuex section:

Every 2 seconds, there should be a new nextLine mutator. I suggest that you also expand the actors array and see what's inside. You can even take a peek at the currentActor and the currentLine and watch them go in circles.

If you feel adventurous, you can even add a third blabber:

<div id="app">   <blabber></blabber>   <blabber></blabber>   <blabber></blabber> </div>

You will discover whether the blabbers reorganize themselves in a sensible fashion, or whether the system we put in place for two blabbers won't work for three.

Get Vue.js 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.