Skip to content

Commit a47306a

Browse files
author
takefumi-yoshii
committed
fix text
1 parent 2608356 commit a47306a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/refguide/reaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Any observables that are accessed while executing the side effect will not be tr
99

1010
The side effect can be debounced, just like `autorunAsync`.
1111
`reaction` returns a disposer function.
12-
The functions passed to `reaction` will receive one argument when invoked, the current reaction, which can be used to dispose the when during execution.
12+
The functions passed to `reaction` will receive two argument when invoked, the current reaction, which can be used to dispose the when during execution.
1313

1414
It is important to notice that the side effect will *only* react to data that was *accessed* in the data expression, which might be less then the data that is actually used in the effect.
1515
Also, the side effect will only be triggered when the data returned by the expression has changed.

0 commit comments

Comments
 (0)