Group Group Group Group Group Group Group Group Group

REDUX - Edit User Profile

In the Koober app, the ProfileViewControllerState takes a UserProfile struct which also lives on the UserSession class. Lets say in the ProfileViewController, we allowed a user to update their information. How would that be handled in the example project?

Would the ProfileUserInteraction dispatch actions which the ProfileReducer would update its UserProfile and then on dismissal, it dispatches an action with the UserProfile that someone else uses to update the UserSession?

Or should the actions dispatched from the ProfileUserInteraction go to a higher up reducer that owns the UserSession, like the SignedInReducer and that will update the UserSession as well as the child UserProfile of the ProfileViewControllerState

@rcach Can you please help with this when you get a chance? Thank you - much appreciated! :]