-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useReactions() hook #33
Comments
After some talks with @domin-mnd, we decided this would be somewhat difficult to include in core, and instead are considering making a separate library for DJS-specific helpers (think Reacord's lodash) that would include hooks like this. We'd also need to figure out what a good API for this would look like specifically, e.g. would it only return a DJS live cache of reactions? What options should it accept? etc. |
Yea customs hooks would be good, but you would need to be able to get the message id and rerender the component manually |
Returns reaction information about the message and updates when reactions change on the message
The text was updated successfully, but these errors were encountered: