With static analysis we have found this issue on the react's code: https://nemo.sonarqube.org/issues/search#issues=AVTMqSKVtu4QdCAX4XJN

On line 29 there is a null check of `target` but there is no on line 34.

/**
 * Copyright 2013-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 *
 * @providesModule SyntheticUIEvent
 */
'use strict';
var SyntheticEvent = require('SyntheticEvent');
var getEventTarget = require('getEventTarget');
/**
 * @interface UIEvent
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */
var UIEventInterface = {
  view: function(event) {
    if (event.view) {
      return event.view;