Skip to content

Plugin Architecture ​

Extend Browser Lifecycle with focused plugins.

Implementation ​

ts
lifecycle.registerPlugin({
  id: "telemetry",
  onStart(ctx) {
    ctx.log("telemetry started");
  },
  onEvent(event) {
    if (event.name === "page:hidden") {
      flushTelemetry();
    }
  },
});

Best practices ​

Plugin Development

Playground ​

Plugin Playground

An ecosystem of independent, headless TypeScript libraries engineered for modern web development. Every package includes interactive playgrounds and documentation that evolves alongside the code.