docs: function reducer() {
    var state = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
    var action = arguments[1];
  
    switch (action.type) {
      case MEDIA_CHANGED:
        return Object.assign({}, state, action.payload);
      default:
        return state;
    }
  }