You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/optics.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ id: optics
9
9
10
10
## Benefits of Optics
11
11
12
-
-**Efficiency:** Optics make manipulating nested state (like user profiles) feel simple—no need to rewrite the whole state object.
12
+
-**Efficiency:** Optics make manipulating nested state (like user profiles) simple, meaning that there's no need to rewrite the whole state object.
13
13
-**Modularity:** Optics help you modularize access to deeply nested data, making code cleaner and more scalable.
14
14
15
15
---
@@ -36,4 +36,4 @@ In the above example, the `ageLens` function is an optic that returns the age of
36
36
37
37
## How it Connects to Refract
38
38
39
-
Optics form the backbone of Refract’s reactive state management. Build and combine them to shape how your UI responds—smoothly composable, and perfectly maintainable.
39
+
Optics form the backbone of Refract’s reactive state management. Build and combine them to shape how your UI responds, making it smoothly composable and perfectly maintainable.
0 commit comments