* moved constants to a proper files * added new action constants * updated websocket reducers and actions * updated websocket saga to handle proper socket events * updated initialization * updated multi pointer arena + realtime app editors components * minor feedback update * updated events list by socket level * removed e.persist * passing socket obj rather than just id
7 lines
262 B
TypeScript
7 lines
262 B
TypeScript
import { AppState } from "reducers";
|
|
|
|
export const getIsPageLevelSocketConnected = (state: AppState) =>
|
|
state.ui.websocket.pageLevelSocketConnected;
|
|
export const getIsAppLevelSocketConnected = (state: AppState) =>
|
|
state.ui.websocket.appLevelSocketConnected;
|