Nested nested components in Libaries

I’m not sure if this is the expected behaviour or if I’m playing with fire. Seems like a dependency issue and I’m not sure if there’s an automated way to handle it.

I created a little countdown timer component and published it to my Library.

I’ve imported this timer to several Rive projects which are themselves exported as Library components for use in a master file.

In the master file, I discovered that the timer component needed to have Instances created if I wanted to handle different VM properties in each of the Library assets (changeout of an icon for example), despite the timer VM actually being imported via the other Library components as a nested property. I guess because it’s named the same in each Library, it’s just a single entity with Instances now?

Where it all falls down:

When I made a change to my timer component and pushed a Library update, I then had to update the component in each project I used it in and push a Library update from there as well. If I only updated one Library component in my master file, then the nested timer VM would display with no name in the VM properties list for any Library componenent using the same timer which hadn’t updated it’s nested timer component, pushed a Library update for that file and then updated that component in the master file.

My main complaint:

There’s really no way to trouble shoot when something breaks in the VM and data binding. It either works or it doesn’t and I end up guessing what I did to break it (like the dependancy issue mentioned above). The State Machine console doesn’t really give me much output. The JavaScipt console simple says there is no default VM if I’ve exported a broken Rive project. Is there another way to trouble shoot or trace errors?

Thanks for reading.

cheers,
Laurence.