add component from existing react app to new app code example Example: how to create react app npx create-react-app my-app cd my-app npm start