ReactDom.render() function not working in codepen

I have the following simple test that works with React.render but does not work with ReactDom.render… do I need some additional set up? Why does the function React.render work, but the one with dom component fail?

My code pen link:

Please ignore this queistion. I had a spelling mistake in my function call (feeling sheepish)…I had ReactDom, instead of ReactDOM

1 Like