July 2018
Beginner
236 pages
5h 34m
English
Similar to autorun(), we can pass an extra argument to reaction() that contains the options:
reaction(() => {/* tracking data */}, (data) => { /* side effects */}, options)
Some of the options, as shown below, are exactly like autorun, which keeps it consistent:
However, there are additional options, specifically for reaction():
Read now
Unlock full access