Skip to content

Commit

Permalink
Update frontend README (#834)
Browse files Browse the repository at this point in the history
* Add notice for react strict mode
* Remove default doc for npm eject
  • Loading branch information
hari-kuriakose authored Nov 8, 2024
1 parent ee8309f commit 715c560
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,11 @@ Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`
## React Strict Mode

**Note: this is a one-way operation. Once you `eject`, you can't go back!**
*React Strict Mode* is enabled by default, which will **mount all components twice** during local development.

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
This helps in verifying the integrity of the React components, and is in alignment with all the frontend use cases known and envisioned currently.

## Learn More

Expand Down

0 comments on commit 715c560

Please sign in to comment.