code: function computeNextEntry(reducer, action, state, shouldCatchErrors) {
    if (!shouldCatchErrors) {
      return { state: reducer(state, action) };
    }
    return computeWithTryCatch(reducer, action, state);
  }
docs: Computes the next entry in the log by applying an action.