Slide 11
Slide 11 text
class Keypad {
void keyDown();
}
class Dispatcher {
Store store;
void dispatchAction(action, args);
Page getCurrentView();
}
class View {
void handleAction(action, page);
void handleStoreUpdate(prop);
}
dispatchAction(ACTION_KEY_DOWN, {KEY_X});
getCurrentView()
.handleAction(
ACTION_KEY_DOWN,
{KEY_X}
);