Open timwis opened 8 years ago
It's already calculated by groupBy but then we do it from scratch in chat.js using filter. But how to pass it? A 4th param? (state, prev, send, conversation) Making chat.js a dumb component (but then what about the callbacks?)
groupBy
chat.js
filter
(state, prev, send, conversation)
It's already calculated by
groupBy
but then we do it from scratch inchat.js
usingfilter
. But how to pass it? A 4th param?(state, prev, send, conversation)
Makingchat.js
a dumb component (but then what about the callbacks?)