Skip to content

Commit 643d983

Browse files
committed
update docusaurus
1 parent 7b34e30 commit 643d983

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
@@ -118,7 +118,7 @@ Immutability should be a key principle. Wherever possible, data should remain im
118118

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

121-
When performing data processing always return new array, object etc. To minimize cognitive load for future developers, aim to keep data objects flat and small.
121+
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.
122122
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.
123123

124124
```ts

0 commit comments

Comments
 (0)