How mirrorfly/mirrorfly-lite-chat-sdk-app-react works
This is a small React wrapper around MirrorFly’s prebuilt chat UI. A user enters an ID; the app persists it in browser storage and, on login, configures the SDK with that ID and the license key. The README documents contact selection and single or group conversations as chat capabilities. Their internal implementation is not included in the sampled source, so they are represented as SDK-provided capabilities. Performance reporting is a separate runtime branch.
Main entry points: App.js Login and chat wrapper · index.js React bootstrap · reportWebVitals.js Performance reporting
Components 9
App startup
- React bootstrap
src/index.js - Performance reporting
src/reportWebVitals.js
User session
- Login and chat wrapper
src/App.js - Browser localStorage
Chat SDK
- MirrorFly ChatApp
- Registered contacts
- Single or group chat
- Conversations
Other components
- User
Connections 8
- React bootstrap → Login and chat wrapper: renders
src/index.js - User → Login and chat wrapper: enters ID
src/App.js - Login and chat wrapper → Browser localStorage: reads and writes
src/App.js - Login and chat wrapper → MirrorFly ChatApp: renders with credentials
src/App.js - MirrorFly ChatApp → Registered contacts: offers selection
README.md - MirrorFly ChatApp → Single or group chat: supports
README.md - MirrorFly ChatApp → Conversations: starts
README.md - React bootstrap → Performance reporting: invokes
src/index.js