Skip to content

Manage socket in store #3

@morenoh149

Description

@morenoh149

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions