Skip to content

Conversation

@tassoevan
Copy link
Contributor

@tassoevan tassoevan commented Jan 8, 2021

Proposed changes (including videos or screenshots)

Integrating a list of messages into a React component imposes some challenges. Its content is provided by some REST API calls and live-updated by streamer events. To avoid too much coupling with React Hooks, the structures RecordList, MessageList and their derivatives are simple event emitters created and connected on components via some simple hooks, like useThreadsList() and useRecordList().

Issue(s)

Steps to test or reproduce

Further comments

@tassoevan tassoevan changed the title feat/message-list List of messages Jan 13, 2021
@tassoevan tassoevan marked this pull request as ready for review January 13, 2021 16:36
@ggazzo ggazzo changed the title List of messages [IMPROVE] Message Collection Hooks Jan 15, 2021
@ggazzo ggazzo added this to the 3.11.0 milestone Jan 15, 2021
@ggazzo ggazzo merged commit 4bfa63c into develop Jan 15, 2021
@ggazzo ggazzo deleted the feat/message-list branch January 15, 2021 18:39
@sampaiodiego sampaiodiego mentioned this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants