Live data from Hacker News

Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

twitter.com

1–10 of 145 posts

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#5
This is such a classic UI programming bug, and almost every UI programming framework has a way to achieve this accidentally using core components. React is notorious for this, but even in non-declarative frameworks it's very easy to get a reactivity loop on a trigger or model update and do this.

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#9
post #7

What does "even though there is no UI visible" mean?

Control Center is an overlay that is only shown when the appropriate icon in the menu bar is clicked. https://support.apple.com/guide/mac-help/mchl50f94f8f/13.0/m...
Post reply on HN