zedkit
@zedtech/zedkit-observability

Wire logger and tracker in React

One provider at the root; hooks below stay backend-agnostic.

alpha

At a glance

  • Who: React apps that should read logging/analytics from context.
  • What: One provider at the root; hooks below stay backend-agnostic.
  • Use when: Client components that emit logs or analytics events.
  • Avoid when: Server-only code — import the ports directly.

Install

pnpm add @zedtech/zedkit-observability

Latest: 0.1.0 (via changesets).

Example

Usage
import { ObservabilityProvider, useLogger } from "@zedtech/zedkit-observability/react";
export function App() {
  return (
    <ObservabilityProvider>
      <Home />
    </ObservabilityProvider>
  );
}
function Home() {
  useLogger().info("mounted");
  return null;
}

Wraps: react

On this page