react-chat-components
react-chat-components copied to clipboard
Allow `messageRenderer`'s renderProp to have a reference to the previous value
I don't know whether this is feasible or if it i s too hard to implement.
Having a reference to the previous message would allow the message renderer to have some context to be able to render consecutive messages without the need to repeat the user name or even allow to render the date timestamp if a date between two messages changed(for example)