4d05f7c1b1
apps/message-demo: Alice creates a thread, Bob joins; live two-way chat, typing, read receipts (useMessages now exposes reads[]). Dev-only /v1/dev/token endpoint (gated by IIOS_DEV_TOKENS) so the browser can auth. .env autoloaded (dotenv). Realtime smoke script passes end-to-end (message + unread + receipt). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6 lines
161 B
TypeScript
6 lines
161 B
TypeScript
import { createRoot } from 'react-dom/client';
|
|
import { App } from './App';
|
|
|
|
const el = document.getElementById('root');
|
|
if (el) createRoot(el).render(<App />);
|