@langchain/react
1.3.0 · 17 Nov 2026MIT154.8k / weekRepositoryHomepagenpmAtom feed
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 touseChannelthat invokes anonEventcallback once per raw protocol event without re-rendering. This is the idiomatic v1 replacement for the oldonLangChainEvent/onCustomEventcallbacks for analytics and logging. Backed by a new framework-agnosticacquireChannelEffecthelper in@langchain/langgraph-sdk/streamthat shares a ref-counted subscription with matchinguseChannelconsumers.
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.