mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
regressing rn
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Chat Context Provider
|
||||
// Purpose: Maintains global chat message state, posting helpers, and typing indicators. Scope: Provides chat event subscriptions and mutation actions for chat-capable components.
|
||||
/* eslint-disable react-refresh/only-export-components */
|
||||
|
||||
import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Session Context Provider
|
||||
// Purpose: Tracks user session identity, roles, queue state, and control assignment data. Scope: Supplies synchronized session state and update hooks to the UI tree.
|
||||
/* eslint-disable react-refresh/only-export-components */
|
||||
|
||||
import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Socket Context Provider
|
||||
// Purpose: Creates React context for shared socket lifecycle and connection state. Scope: Owns socket initialization, reconnect behavior, and consumer hooks.
|
||||
/* eslint-disable react-refresh/only-export-components */
|
||||
|
||||
// src/context/SocketContext.jsx
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Telemetry Context Provider
|
||||
// Purpose: Maintains shared telemetry snapshots and rover status streams for UI consumers. Scope: Subscribes to telemetry events and exposes normalized read APIs to components.
|
||||
/* eslint-disable react-refresh/only-export-components */
|
||||
|
||||
import { createContext, useContext, useMemo, useState, useEffect } from 'react';
|
||||
|
||||
Reference in New Issue
Block a user