You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm referring to your code for a react project I'm working on.
What are the pros and cons of placing the socket in the reducer and defining message callbacks in there? This would allow any component that needs a reference to the socket to be able to get to the socket if they need to.
best,
The text was updated successfully, but these errors were encountered:
Hello, I'm referring to your code for a react project I'm working on.
What are the pros and cons of placing the socket in the reducer and defining message callbacks in there? This would allow any component that needs a reference to the socket to be able to get to the socket if they need to.
best,
The text was updated successfully, but these errors were encountered: