default react app.js code example Example: create react app npx create-react-app my-app cd my-app npm start