alibaba / alibaba/ChatUI

react19废弃的render方法

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.4k
Forks
425
PR merge metrics
No merged PRs in 30d

Description

**Version information (版本信息)**
- ChatUI or ChatUI Pro? ChatUI
- ChatUI Version: 3.0.0
- React Version: 19.1.0
- OS Version: mac os 15.4.1
- Browser Version: Chromium 136

**Describe the bug (描述问题)**
react19已完全废弃了react-dom的render方法,而ChatUI代码中看起来仅src/utils/mountComponent.ts:19这一处使用了废弃的render方法,导致toast等功能无法使用。

**Expected behavior (期望的结果是什么)**
希望尽快发布补丁版本。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with src/utils/mountComponent.ts:19 and inspect how the deprecated react-dom render method is used. Reproduce the issue with React 19.1.0, then verify that toast and related functionality works with the supported mounting approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.