19 lines
492 B
JavaScript
19 lines
492 B
JavaScript
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var ReactServerBatchingStrategy = {
|
|
isBatchingUpdates: false,
|
|
batchedUpdates: function (callback) {
|
|
// Don't do anything here. During the server rendering we don't want to
|
|
// schedule any updates. We will simply ignore them.
|
|
}
|
|
};
|
|
|
|
module.exports = ReactServerBatchingStrategy; |