react: TypeError: Cannot read property 'firstChild' of null at precacheChildNodes (react-dom.js:6619)

With 15.5.0-rc.1, I get

Uncaught TypeError: Cannot read property 'firstChild' of null
    at precacheChildNodes (react-dom.js:6619)
    at getNodeFromInstance (react-dom.js:6714)
    at ReactDOMComponent.trapBubbledEventsLocal (react-dom.js:5772)
    at CallbackQueue.notifyAll (react-dom.js:948)
    at ReactTestReconcileTransaction.close (react-dom.js:12207)
    at ReactTestReconcileTransaction.closeAll (react-dom.js:14993)
    at ReactTestReconcileTransaction.perform (react-dom.js:14940)
    at ReactUpdatesFlushTransaction.perform (react-dom.js:14927)
    at ReactUpdatesFlushTransaction.perform (react-dom.js:13047)
    at Object.flushBatchedUpdates (react-dom.js:13130)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 23 (17 by maintainers)

Most upvoted comments

And that is because code from the shallow renderer is being included and parsed in react-dom

This is because of my changes in 3a7eef2. I’m on it!

Sorry for the inconvenience! Thanks for reporting this @jochenberger and for help identifying the cause @aweary! You rock!