Skip to content

Commit

Permalink
docs: console.log invaluable typo (#9234)
Browse files Browse the repository at this point in the history
Console.logs are valuable in development so changed `invaluable` to
`valuable`

---------

Co-authored-by: ehconitin <[email protected]>
Co-authored-by: Félix Malfait <[email protected]>
  • Loading branch information
3 people authored Dec 29, 2024
1 parent df12ba6 commit 74755c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ They are often not necessary and will make the code harder to read and maintain

## Console.logs

`console.log` statements are invaluable during development, offering real-time insights into variable values and code flow. But, leaving them in production code can lead to several issues:
`console.log` statements are valuable during development, offering real-time insights into variable values and code flow. But, leaving them in production code can lead to several issues:

1. **Performance**: Excessive logging can affect the runtime performance, specially on client-side applications.
1. **Performance**: Excessive logging can affect the runtime performance, especially on client-side applications.

2. **Security**: Logging sensitive data can expose critical information to anyone who inspects the browser's console.

Expand Down

0 comments on commit 74755c8

Please sign in to comment.