|
|
||
|---|---|---|
| .. | ||
| components | ||
| pages | ||
| public/assets | ||
| .babelrc | ||
| README.md | ||
| env.example | ||
| image.png | ||
| index.js | ||
| next.config.js | ||
| package.json | ||
README.md
Flying Emojis
Live example
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
