Skip to content

heysujal/react-post-reactions

Repository files navigation

Preview

https://x.com/heysujal/status/1875981028655067399

Challenges Faced

  • How to think about architecture of this package

  • How people will be able to use this component in their existing codebase

  • How will be the developer experience

  • Finally came to make it a wrapper where user can provide their custom button

  • How to temporarily freeze parent button so that Reaction Selection Transition doesn't get disturbed.

  • TODO: Preventing downloading of icons on every hover

  • TODO: Add label on hover of emoji

  • TODO: Add support for Lottie animations like facebook did

  • TODO: Add sound when the icon pops up

Resources:

https://animatedicons.co/