Skip to main content
useDaily(): DailyCall This is the same instance passed to or created by DailyProvider.

Return value

Returns a DailyCall instance, which is the call object.

Example

import { useDaily } from '@daily-co/daily-react';

export const UseDailyDemo = () => {
  const daily = useDaily();
  const state = daily?.meetingState();
  return <div>Meeting state: {state ?? 'unknown'}</div>;
};

See also