@ably/chat - v0.11.0
    Preparing search index...

    Interface ChatRoomProviderProps

    Props for the ChatRoomProvider component.

    interface ChatRoomProviderProps {
        children?: ReactNode | ReactNode[];
        name: string;
        options?: RoomOptions;
    }
    Index

    Properties

    children?: ReactNode | ReactNode[]

    Children nodes.

    name: string

    The name of the room.

    options?: RoomOptions

    Overriding options to use when creating the room.

    NOTE: This value is not memoized by the provider. It must be memoized in your component to prevent re-renders of a parent component from causing the room to be recreated.