Skip to content

Commit c702fac

Browse files
committed
update docusaurus
1 parent 5a7affc commit c702fac

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
@@ -114,7 +114,7 @@ Majority of the data should be immutable with use of `Readonly`, `ReadonlyArray`
114114
Using readonly type prevents accidental data mutations, which reduces the risk of introducing bugs related to unintended side effects.
115115

116116
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.
117-
As an exception mutations should be used sparingly in cases where truly necessary: complex objects, performance reasoning etc.
117+
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.
118118

119119
```ts
120120
// ❌ Avoid data mutations

0 commit comments

Comments
 (0)