Connect with us


How to solve nested Observable Objects issue

In the previous video, I talked about preventing SwiftUI from re-rendering all of the views. In this video, I have the opposite problem: SwiftUI does not redraw views when the data changes. It may happen to you when you use an Observable Object inside another Observable Object. When data changes inside the nested Observable Object, SwiftUI will not trigger the update.

  • 00:00 Intro
  • 00:24 Nested Observable Objects
  • 04:06 Outro