create a new react component in app npm code example Example: command to create react app npx create-react-app my-app cd my-app npm start