Packages

@langchain/react

1.3.0 · 17 Nov 2026MIT154.8k / weekRepositoryHomepagenpmAtom feed

Your version

1.0.22

11 Jun 2026Where it was published

1.3.0 is the newest release of 1.x.

In short

1 new1 internal

Release note

Patch Changes

  • stream: Add per-event side-effect selector

    Add useChannelEffect (React/Svelte/Vue) / injectChannelEffect (Angular), a side-effect counterpart to useChannel that invokes an onEvent callback once per raw protocol event without re-rendering. This is the idiomatic v1 replacement for the old onLangChainEvent / onCustomEvent callbacks for analytics and logging. Backed by a new framework-agnostic acquireChannelEffect helper in @langchain/langgraph-sdk/stream that shares a ref-counted subscription with matching useChannel consumers.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.