mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-11-02 14:31:14 +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 State Management Logging Examples
This is a comparison of Insights logging integrations with different state management libraries using a todo list application built with Next.js.
Examples Included
- Redux: Uses Redux Toolkit with
insightsReduxLoggermiddleware - Kea: Uses Kea with
insightsKeaLoggerplugin (cleaner API)
To run it
pnpm i && pnpm dev
Then visit:
- Home: http://localhost:3000/ - Overview and links to examples
- Redux: http://localhost:3000/redux - Redux Toolkit + Insights logging
- Kea: http://localhost:3000/kea - Kea + Insights logging
Features Demonstrated
- Action and state logging with Insights
- Rate limiting to prevent log flooding
- State diffing (only log changed values)
- Action/state masking for sensitive data
- Performance monitoring (slow action detection)
- Different API styles (Redux-specific vs generic)
Apologies to the future traveller, the example todo app is entirely AI slop