DEV Community

Discussion on: Step by step React configuration from setup to deployment

Collapse
 
elliottribner profile image
Elliott Ribner

Nathan, Thanks for the article. You have one small error that will cause an error in the browser console. in the js file you have: ReactDOM.render(<Welcome />, document.getElementById('root'));, however, in the HTML file no element has the ID root, instead you have used the id of "app". The above line of code should be switched to `ReactDOM.render(<Welcome />, document.getElementById('app'));