If you ever get errors about wrapWithConnect
taking a null or undefined component, itโs because you forgot to wrap the component.
Here's the error message I got, for convienence / reference:
wrapWithConnect(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.
wrong: