kind of new at this and typed in "install react dom" instead of "install react-dom" in my command prompt. What exactly is the difference and what did I install?
Asked
Active
Viewed 54 times
1 Answers
2
Well, it means you installed the react
package and dom
package instead of the react-dom
package. That dom
package is not related to React or React-DOM in any way. You probably want both React and React-DOM:
npm install react react-dom

Aaron Beall
- 49,769
- 26
- 85
- 103