Skip to content

Commit da061b0

Browse files
committed
update docusaurus
1 parent 643d983 commit da061b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Immutability should be a key principle. Wherever possible, data should remain im
119119
Using readonly types prevents accidental data mutations and reduces the risk of bugs caused by unintended side effects. This ensures that data integrity is maintained throughout the application lifecycle.
120120

121121
When performing data processing, always return new arrays, objects, or other data structures. To minimize cognitive load for future developers, strive to keep data objects flat and concise.
122-
Mutations should be used sparingly and only as an exception in cases where they are truly necessary, such as when dealing with complex objects, performance-related reasons etc.
122+
Mutations should be used sparingly and only as a last resort, in cases where they are truly necessary, such as when dealing with complex objects or optimizing for performance.
123123

124124
```ts
125125
// ❌ Avoid data mutations

0 commit comments

Comments
 (0)