File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ This means that the order of execution of effects is *not guaranteed* and should
96
96
### Nested effects
97
97
98
98
When working with effects, it is possible to nest them within each other.
99
- This allows each effect to independently track its own dependencies, without affect the effect that it is nested within.
99
+ This allows each effect to independently track its own dependencies, without affecting the effect that it is nested within.
100
100
101
101
``` jsx
102
102
createEffect (() => {
@@ -118,7 +118,7 @@ const [count, setCount] = createSignal(0);
118
118
119
119
createEffect (() => {
120
120
console .log (" Outer effect starts" );
121
- createEffect (() => console .log (count ())); // when count changes, only the this effect will run
121
+ createEffect (() => console .log (count ())); // when count changes, only this effect will run
122
122
console .log (" Outer effect ends" );
123
123
});
124
124
```
You can’t perform that action at this time.
0 commit comments