I've recently found some Apple article on this https://developer.apple.com/documentation/widgetkit/keeping-a-widget-up-to-date
I think this explains pretty well the overall approach.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: