useUserReactionEffect
The purpose of useUserReactionEffect
hook is set appropriate reaction space listeners and using callbacks it makes user reactions resource live and reactive
Example Usage:
const { reactionSpace } = useReactionSpace({ targetGroupId: "<Room ID>" });
useUserReactionEffect({ reactionSpaceId: reactionSpace?.id });
Hook Argument
reactionSpaceId
reactionSpaceId
Type | Default |
---|---|
String | No Default |
Updated about 2 months ago