Skip to content

Migrate from TCA to MVVM architecture#1

Open
tosh7 wants to merge 1 commit intomainfrom
feature/remove-tca
Open

Migrate from TCA to MVVM architecture#1
tosh7 wants to merge 1 commit intomainfrom
feature/remove-tca

Conversation

@tosh7
Copy link
Owner

@tosh7 tosh7 commented Jun 23, 2025

  • Replace TCA Reducers with ViewModels for all features
  • Convert Store-based Views to use @State ViewModels
  • Remove ComposableArchitecture dependencies from code
  • Delete TCA Reducer files: HomeReducer, ResultReducer, PastResultsReducer, InitialReducer, CounterReducer, RoundReducer
  • Add new ViewModels: HomeViewModel, ResultViewModel, PastResultsViewModel, InitialViewModel, CounterViewModel, RoundViewModel
  • Update navigation from TCA presentation to SwiftUI native navigation
  • Maintain existing business logic and functionality
  • Preserve WatchConnectivity integration

🤖 Generated with Claude Code

- Replace TCA Reducers with ViewModels for all features
- Convert Store-based Views to use @State ViewModels
- Remove ComposableArchitecture dependencies from code
- Delete TCA Reducer files: HomeReducer, ResultReducer, PastResultsReducer, InitialReducer, CounterReducer, RoundReducer
- Add new ViewModels: HomeViewModel, ResultViewModel, PastResultsViewModel, InitialViewModel, CounterViewModel, RoundViewModel
- Update navigation from TCA presentation to SwiftUI native navigation
- Maintain existing business logic and functionality
- Preserve WatchConnectivity integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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