Subscribe to game state with an optional selector.
Optional
Optional function to select a slice of state.
Selected state value or full store state.
Subscribe to game state with an optional selector.