diff --git a/packages/slate-react/src/components/content.js b/packages/slate-react/src/components/content.js index 680d460e2..798fd3442 100644 --- a/packages/slate-react/src/components/content.js +++ b/packages/slate-react/src/components/content.js @@ -71,7 +71,6 @@ class Content extends React.Component { constructor(props) { super(props) this.tmp = {} - this.tmp.key = 0 this.tmp.isUpdatingSelection = false EVENT_HANDLERS.forEach(handler => { @@ -276,12 +275,6 @@ class Content extends React.Component { onEvent(handler, event) { debug('onEvent', handler) - // COMPAT: Composition events can change the DOM out of under React, so we - // increment this key to ensure that a full re-render happens. (2017/10/16) - if (handler == 'onCompositionEnd') { - this.tmp.key++ - } - // Ignore `onBlur`, `onFocus` and `onSelect` events generated // programmatically while updating selection. if ( @@ -491,7 +484,6 @@ class Content extends React.Component {