We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a50ce commit ae41e0fCopy full SHA for ae41e0f
lib/LayerMixin.js
@@ -81,11 +81,6 @@ var LayerMixin = {
81
},
82
83
unmountComponent: function() {
84
- // Purge backing stores on unmount.
85
- var layer = this.node;
86
- if (layer.backingStoreId) {
87
- DrawingUtils.invalidateBackingStore(layer.backingStoreId);
88
- }
89
this.destroyEventListeners();
90
}
91
lib/Surface.js
@@ -145,8 +145,8 @@ var Surface = React.createClass({
145
// Execute pending draw that may have been scheduled during previous frame
146
this._frameReady = true;
147
if (this._pendingTick) {
148
- this.tick();
149
this._pendingTick = false;
+ this.batchedTick();
150
151
152
0 commit comments