Closed mgerb closed 7 years ago
This is more difficult than I previously thought. Need to add the sent message to state, but messages are loaded into the state immediately after sending the message. Need to split up the saga to only load from storage when the group is changing.
This was actually easy to take care of. The redux state was binding to local state and getting mutated. This was causing issues. Immutability ftw.
This is more difficult than I previously thought. Need to add the sent message to state, but messages are loaded into the state immediately after sending the message. Need to split up the saga to only load from storage when the group is changing.