The tests for the shim need to test with ReactDOM.render in React 17. DiffTrain build for commit https://github.com/facebook/react/commit/ee1eb4826f4f7beb4e06f2c15f03145bb5bddf5b.