daily-examples/dailyjs/flying-emojis
Jon 211beeba2f removed asset symlink to fix Vercel builds 2021-09-06 15:07:56 +01:00
..
components added recording and streaming 2021-07-20 15:10:48 +01:00
pages initial commit 2021-07-13 17:42:29 +01:00
public/assets removed asset symlink to fix Vercel builds 2021-09-06 15:07:56 +01:00
.babelrc initial commit 2021-07-13 17:42:29 +01:00
README.md flying emojis 2021-07-13 18:00:52 +01:00
env.example missing env.example 2021-07-13 21:14:52 +01:00
image.png updated poster image 2021-07-13 19:04:37 +01:00
index.js added RoomContainer abstraction 2021-07-20 14:00:05 +01:00
next.config.js initial commit 2021-07-13 17:42:29 +01:00
package.json initial commit 2021-07-13 17:42:29 +01:00

README.md

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 @dailyjs/flying-emojis dev

Deploy your own on Vercel

Deploy with Vercel