InterviewHubPRO
Section Overview
Q440

Question 440 of 445

Part 11: Legacy Architecture, Migration Patterns & Historical Internals (354 - 445)

99%
React & Modern Frontend (445 Qs)•Part 11: Legacy Architecture, Migration Patterns & Historical Internals (354 - 445)

What are the features of create react app?

Below are the list of some of the features provided by create react app.

css
1.  React, JSX, ES6, Typescript and Flow syntax support.
2.  Autoprefixed CSS
3.  CSS Reset/Normalize
4.  A live development server
5.  A fast interactive unit test runner with built-in support for coverage reporting
6.  A build script to bundle JS, CSS, and images for production, with hashes and sourcemaps
7.  An offline-first service worker and a web app manifest, meeting all the Progressive Web App criteria.

Code Example

bash
# Initialize a modern React application with Zero Configuration:
npx create-react-app my-app --template typescript

# Directory structure created automatically:
# ├── node_modules/
# ├── public/
# │   ├── favicon.ico
# │   └── index.html
# ├── src/
# │   ├── App.tsx
# │   ├── App.test.tsx
# │   └── index.tsx
# ├── package.json
# └── tsconfig.json