Skip to content

Conversation

@boscojwho
Copy link

@boscojwho boscojwho commented Aug 10, 2024

I was trying out NiceArchitecture, and made some small changes because I wanted to test it using Apple's newer @Observable and NavigationStack APIs:

  • Only PostsCoordinator uses @Observable.
  • Seems like the other view models/ObservableVM itself require a lot(?) more work to adopt @Observable.
  • PostsView reloading its entire list on (re)appear isn't a regression, the bindToVM approach is...interesting, hmm 🤔 (have some thoughts on that for sure 😅)

Feel free to merge this in if needed, and setting deployment target to 17.0 isn't an issue =)

~ Replace deprecated NavigationView with NavigationStack.
~ Replace ObservableObject with @observable [PostsCoordinator].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant