Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

334 B
Raw Blame
import { createContext, useContext } from 'react';

// the id of the nearest SurfaceBox title, so a table inside can take its accessible name from it
export const SurfaceTitleContext = createContext<string | undefined>(undefined);

export function useSurfaceTitleId(): string | undefined {
  return useContext(SurfaceTitleContext);
}