How to re-execute scripts in theme components

Have you tried looking at prior art/work/code in another similar Customization > Theme component to get some insights on how to go about it?