We should store connection info in each chat message, since chat is a log, and log shouldn't be changed after ...being logged.
However, implementing this can be a hard job
since we don't know anything about the connection in chat reducer.
We have to inject connection information in the action, which doesn't feel clean. Still, this is the best way to do it. (The alternative way is replacing root reducer, however this is much crazier than this)
We should store connection info in each chat message, since chat is a log, and log shouldn't be changed after ...being logged.
However, implementing this can be a hard job since we don't know anything about the connection in chat reducer.
We have to inject connection information in the action, which doesn't feel clean. Still, this is the best way to do it. (The alternative way is replacing root reducer, however this is much crazier than this)
Implementing this shouldn't be a hard job though.