Adds a reaction that will trigger every time an snapshot changes.
Node type.
Node to get the snapshot from or a function to get it.
Function that will be triggered when the snapshot changes.
A disposer.
Adds a reaction that will trigger every time an snapshot changes.