mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
A version written into a manifest is written into every manifest that wants it, which is how eslint came to exist in a hundred and four forms across this estate and how a package came to resolve twice at run time. The catalog moves the number out of the manifest: a manifest names the package, the workspace names the version. Four are held below their latest because the newer release cannot be used, and the reason is recorded rather than the version alone: @noble/hashes 2 renamed every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels 3 points its types condition at the bundle.
Insights React Playground
This is a Next.js playground application that demonstrates the @hanzo/react SDK.
Features
- Cat Gallery: A grid of cat images from cataas.com
- Event Display: Real-time display of Insights events in the top-right corner
Running the Playground
Important: This playground is excluded from the main workspace, so you need to install dependencies separately.
-
Navigate to this directory:
cd playground/react-nextjs -
Install dependencies:
pnpm install -
Run the development server:
pnpm dev -
Open http://localhost:3000 in your browser
-
Scroll down to see the cat gallery come into view and watch the
$element_viewedevent appear in the event display
How It Works
- The
EventDisplaycomponent intercepts Insights events and displays them in real-time