UNPKG

499 BJavaScriptView Raw
1/**
2 * Copyright (c) 2013-present, Facebook, Inc.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 *
8 */
9
10'use strict';
11
12/**
13 * Keeps track of the current owner.
14 *
15 * The current owner is the component who should own any components that are
16 * currently being constructed.
17 */
18var ReactCurrentOwner = {
19 /**
20 * @internal
21 * @type {ReactComponent}
22 */
23 current: null
24};
25
26module.exports = ReactCurrentOwner;
\No newline at end of file