We purge it [here](https://github.com/facebook/react/blob/b11540ccb2321aeb7259fcf0b3a38aeeea35231d/src/isomorphic/ReactDebugTool.js#L88-L89) but this code doesn’t run because of the [early exit](https://github.com/facebook/react/blob/b11540ccb2321aeb7259fcf0b3a38aeeea35231d/src/isomorphic/ReactDebugTool.js#L53-L57).

Need to fix this and add a test case to make sure we don’t regress on it.

payload: { tabIndex: 43 },
        }]);
      });
    });
  });
  describe('replace text', () => {
    describe('text content', () => {
      it('gets recorded during an update from text content', () => {
        var node = document.createElement('div');
        ReactDOM.render(<div>Hi.</div>, node);
        var inst = ReactDOMComponentTree.getInstanceFromNode(node.firstChild);
        ReactNativeOperationHistoryDevtool.clearHistory();
        ReactDOM.render(<div>Bye.</div>, node);
        assertHistoryMatches([{
          instanceID: inst._debugID,
          type: 'replace text',
          payload: 'Bye.',
        }]);
      });
      it('gets recorded during an update from html', () => {
        var node = document.createElement('div');
        ReactDOM.render(<div dangerouslySetInnerHTML={{__html: 'Hi.'}} />, node);
        var inst = ReactDOMComponentTree.getInstanceFromNode(node.firstChild);
        ReactNativeOperationHistoryDevtool.clearHistory();
        ReactDOM.render(<div>Bye.</div>, node);
        assertHistoryMatches([{
          instanceID: inst._debugID,
          type: 'replace text',
          payload: 'Bye.',
        }]);