daily-examples/custom/flying-emojis/README.md

1.1 KiB

Flying Emojis

Flying Emojis

Live example

See it in action here ➡️


What does this demo do?

  • Use sendAppMessage to send flying emojis to all clients
  • Implements a custom <App /> that adds <FlyingEmojisOverlay /> component that listens for incoming emoji events and appends a new node to the DOM
  • Todo: pool emoji DOM nodes to optimise on DOM mutations

Please note: this demo is not currently mobile optimised

Getting started

# set both DAILY_API_KEY and DAILY_DOMAIN
mv env.example .env.local

yarn
yarn workspace @custom/flying-emojis dev

Deploy your own on Vercel

Deploy with Vercel