Expand description
REACT (Reaction) action native hooks
Handles reaction lifecycle:
- on_create: Updates subject action’s reaction count for local reactions
- on_receive: Updates subject action’s reaction count for incoming reactions
Note: REACT uses subject field to reference the action being reacted to,
NOT parent. This is because reactions don’t create visible hierarchy.
Functions§
- on_
create - REACT on_create hook - Handle local reaction creation
- on_
receive - REACT on_receive hook - Handle incoming reaction