S
S
Sherlockfront2020-02-23 10:28:25
React
Sherlockfront, 2020-02-23 10:28:25

Connecting and managing socket in react native?

Hello.

In the application I use react-navigation, there is authorization. Lots of screens.
And the problem is, if I go to screen level 3, I have to use sockets, I have to reconnect.

Is it possible to somehow store the socket in one place, and work with it?

After connecting, I tried to add the socket to the redux store, but when sending a message, desconnect 1011 occurs.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question