1/** 2 * Copyright 2013-2015, Facebook, Inc. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. An additional grant 7 * of patent rights can be found in the PATENTS file in the same directory. 8 * 9 * @providesModule ClientReactRootIndex 10 * @typechecks 11 */ 12 13'use strict'; 14 15var nextReactRootIndex = 0; 16 17var ClientReactRootIndex = { 18 createReactRootIndex: function() { 19 return nextReactRootIndex++; 20 } 21}; 22 23module.exports = ClientReactRootIndex; 24 25