Skip to content

Instantly share code, notes, and snippets.

Privacy Policy — Google Docs Markdown Viewer

Last updated: May 2026

This extension does not collect, store, or transmit any personal data.

  • All settings are stored locally in your browser
  • No analytics, tracking, or telemetry
  • No user accounts or sign-in required
import { EVENT_SOCKET } from '@/CONSTANT/EVENT'
import Pusher from 'pusher-js'
import { useEffect, useRef, useState } from 'react'
import { addPath, deletePath } from './path'
export const usePusher = () => {
const channel = useRef<any>(null)
useEffect(() => {
if (!!channel.current) {