             let newState = store.handle(prevState, action: action, payload: payload)
             self.stateMap = self.stateMap.setIn([id], withValue: newState)
         }
+        if self.debug {
+            NSLog("Reacting to \(action)")
+        }
+        self.responder?.onUpdate()
     }
     
     // Add a new store to the reactor
     func registerStore(id: String, store: Store) {
         self.stores[id] = store
         self.stateMap = self.stateMap.setIn([id], withValue: store.getInitialState())
+        self.responder?.onUpdate()
     }
     
     // Restore all registered stores to their initial state

public class Reactor {
    public static let instance = Reactor()
    
    var stateMap = Immutable.toState([:])
    var stores : [String:Store] = [:]
    

            let resetState = store.handleReset(prevState)
            self.stateMap = self.stateMap.setIn([id], withValue: resetState)
        }
        self.responder?.onUpdate()
    }
    
    // Evaluate the given getter and return the immutable state
