File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/routes/reference/reactive-utilities Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ in a few cases:
64
64
65
65
* Within [` createEffect ` ](/ reference / basic - reactivity / create - effect )
66
66
and [` onMount ` ](/ reference / lifecycle / on - mount )
67
+ (unless they are outside a [root ](/ reference / reactive - utilities / create - root ))
67
68
* Within the [setter of a store ](/ reference / store - utilities / create - store #setter )
68
69
(which can update several properties at once )
69
70
* Within array methods (e .g . ` Array.prototype.splice ` ) of a
@@ -72,8 +73,8 @@ in a few cases:
72
73
73
74
These save you from having to use ` batch ` yourself in many cases .
74
75
For the most part , automatic batching should be transparent to you ,
75
- because accessing a memo will cause it to recompute if it is out of date .
76
- For example :
76
+ because accessing a memo will cause it to recompute if it is out of date
77
+ ( as of Solid 1.4 ). For example :
77
78
78
79
` ` ` ts
79
80
batch(() => {
You can’t perform that action at this time.
0 commit comments