Install React Dependencies

The frontend dependencies you need are React and ReactDOM. Install them next:

npm i -D react react-dom

Install the Babel preset to process React JSX code:

npm i -D @babel/preset-react

Comments

Leave a Comment

All fields are required. Your email address will not be published.