Skip to main content

Build Style Guide

For React mediasfu-reactjs@4.3.7, choose the highest-level UI path that fits your product. Begin with the supplied room experience so you can prove room and media behavior before taking ownership of more interface code.

Choose your React UI path​

Your product needs...Start withYour app owns
A working room with minimal changesThe prebuilt ModernMediasfuGeneric experienceNavigation and product context around the room
Branding or selected card, control, or modal changesUI overridesThe replaced visual surfaces
A substantially different room workspaceCustom component replacementThe main workspace while MediaSFU continues to run the room
A fully app-owned console or non-room interfaceHeadless modeEvery visible surface, control state, recovery message, and layout decision

See Choose your UI mode for the React switches and component patterns behind these choices.

  1. Connect create and join through your secure backend boundary.
  2. Prove the prebuilt React room lifecycle.
  3. Replace one visual surface at a time.
  4. Move to a custom workspace or headless shell only when the product experience requires it.

The lower you move, the more your application must handle: accessibility, loading and failure states, authority checks, media status, confirmation flows, and cleanup.

This guide describes the React 4.3.7 path. Its component names and behavior apply to that package only.