
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
@livechat/developer-ui-react
Advanced tools
This is a typescript library with react components for Text Platform Developer App.
This is a typescript library with react components for Text Platform Developer App
Use the npm or yarn package managers to install the dev-cli package in your project.
npm install -g @livechat/developer-ui-react
# or
yarn global add @livechat/developer-ui-react
import { Button, Card } from "@livechat/design-system-react-components";
import type { AppConfig } from "@livechat/developer-sdk";
import { AppProvider, useApp } from "@livechat/developer-ui-react";
// import you app config (aka. manifest) from proper location
// it can be downloaded using 'txdev app pull/clone' (@livechat/developer-cli)
import config from "./livechat.config.json";
function Component() {
const { app } = useApp();
return (
<Card>
<h1>App is now initialized and ready to use.</h1>
<h2>Account ID: {app.authorization?.data?.account_id}</h2>
<Button onClick={() => app.features.reports.sendError("4xx")}>
Send error
</Button>
</Card>
);
}
function Wrapper() {
return (
<AppProvider config={config as AppConfig}>
<Component />
</AppProvider>
);
}
To be able to use useApp hook, Component must be wrapped with AppProvider. It takes config of your app (aka. manifest) and uses it to construct app instance, to run initialization and authorization (if needed) under the hood. If you don't have your app config (aka. manifest) yet, please refer to @livechat/developer-cli to see how use Text Platform Developer CLI to pull/clone your app.
Also, have a look at @livechat/developer-sdk to see how you can use app instance and its built-in features f.e. reporting.
import { Button, Card } from "@livechat/design-system-react-components";
import {
useLiveChatDetails,
LiveChatDetailsProvider,
} from "@livechat/developer-ui-react";
function Component() {
const { widget, customerProfile } = useLiveChatDetails();
return (
<div>
<h1>LiveChat Chat Details widget</h1>
<Button onClick={() => widget.putMessage("New message")} />
<Card title="Customer profile">
<span>Name: {customerProfile?.name ?? "Loading..."}</span>
</Card>
</div>
);
}
function Wrapper() {
return (
<LiveChatDetailsProvider>
<Component />
</LiveChatDetailsProvider>
);
}
For now we are supporting widgets:
LiveChatDetailsProvider and useLiveChatDetailsLiveChatMessageBoxProvider and useLiveChatMessageBoxLiveChatFullscreenProvider and useLiveChatFullscreenHelpDeskDetailsProvider and useHelpDeskDetailsHelpDeskFullscreenProvider and useHelpDeskFullscreenThe code and documentation in this project are released under the MIT License.
FAQs
Typescript library with react components for Text Platform Developer App.
The npm package @livechat/developer-ui-react receives a total of 86 weekly downloads. As such, @livechat/developer-ui-react popularity was classified as not popular.
We found that @livechat/developer-ui-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 73 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.