@samitouri / QOS-React-2 / commits / 57d59ea344

Remove check for _wrapperState.pendingUpdate.

We can just set it to true regardless.

Sam Beveridge committed Feb 13, 2016 at 12:01 UTC 57d59ea344e2766bd84952e7df56aea6e29abf4a
1 file changed +1 -1
src/renderers/dom/client/wrappers/ReactDOMSelect.js
+1 -1
@@ -236,7 +236,7 @@ function _handleChange(event) {
236 var props = this._currentElement.props;
237 var returnValue = LinkedValueUtils.executeOnChange(props, event);
238
239 - if (this._rootNodeID && !this._wrapperState.pendingUpdate) {
239 + if (this._rootNodeID) {
240 this._wrapperState.pendingUpdate = true;
241 }
242 ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);