I’ve got an app which is using websockets. When the expo client switches from wifi to 4G, there is a temporary loss of connection (as expected). I’ve put some logic on the client. When the NetInfo (react native api) detects no connection I try to reconnect to the websocket, the expo app reconnects but I end up getting a full app refresh (the splash screen is relaunched etc.). I want to prevent the full app refresh, I just want to reconnect to the websocket. Is this something which is possible as frontend only solution, or do I need to implement something on the backend?
I’ve included something I’ve been reading - I don’t know if this similar to the problem I am facing?