spb/satelliteindex
Public
TypeScript 66.5%
Python 30.9%
JavaScript 1.4%
CSS 0.7%
1'use client';2import { useEffect } from 'react';3import { clientApi } from '@/lib/client-api';45/** Fire-and-forget page-view beacon (feeds the "trending" list). Once per mount, never blocks rendering. */6export function ViewBeacon({ type, id }: { type: string; id: string }) {7 useEffect(() => {8 void clientApi.view(type, id);9 }, [type, id]);10 return null;11}12