mgerb / wbuRewrite

Rewrite of the Where Bar You app
Apache License 2.0
0 stars 0 forks source link

add message to state immediately after sending rather than waiting #41

Closed mgerb closed 7 years ago

mgerb commented 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.

mgerb commented 7 years ago

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.