Using the example above, it will not attempt to retry the connection on connection failure. If you set share to false, it will attempt to retry the connection for the set number of attempts. If you set share to true, and specify shouldReconnect: ()=>true then it will retry the connection as well.
I would expect that it should retry the connection as my example shows, should it not?
Using the example above, it will not attempt to retry the connection on connection failure. If you set share to false, it will attempt to retry the connection for the set number of attempts. If you set share to true, and specify
shouldReconnect: ()=>true
then it will retry the connection as well.I would expect that it should retry the connection as my example shows, should it not?
You can test it here: CodeSandbox