I'm watching a tutorial on Godot 4. We are creating a UI for the game. One of the elements on the UI is a resource counter. Tutorial had me create an Autoload node to contain various global counters. The tutorial's approach is that when a resource is consumed, the consumer decrements the resource count and then calls a function in the UI to display the new count. The approach used by another game engine I'm familiar with the consumer just decrements the resource count. The UI would set the display during each frame from its _process(delta) function.
What is the preferred/best/most-used approach for Godot?