a stable dispatch function that may be called to connect and disconnect,
the last encountered error.
Remarks
The Pixel argument of the dispatch function is required only for the
first "connect" action.
Only one Pixel may be connected at a given time with the same
dispatch function. Connecting to another Pixel using the same dispatch
will first disconnect from the previous Pixel.
React Hook that returns a dispatch function to connect to and disconnect from a given Pixel. Automatically disconnects from the Pixel on dismount.