React Hook that connects to the given Pixel on mount, and disconnect on dismount.
Optional
The Pixel to connect to, may be undefined.
An array with the Pixel status and the last encountered error.
React Hook that connects to the given Pixel on mount, and disconnect on dismount.