semi-design icon indicating copy to clipboard operation
semi-design copied to clipboard

[BUG] react19 不再适配findDOMNode

Open HoChienkuo opened this issue 9 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Which Component

Empty

Semi Version

2.82.0

Current Behavior

ERROR in ./node_modules/@douyinfe/semi-ui/lib/es/tooltip/index.js 567:23-34

export 'findDOMNode' (imported as 'findDOMNode') was not found in 'react-dom' (possible exports: __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, createPortal, flushSync, preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule, requestFormReset, unstable_batchedUpdates, useFormState, useFormStatus, version)

Expected Behavior

well

Steps To Reproduce

use <Empty/> component

ReproducibleCode

import {Empty} from '@douyinfe/semi-ui';
import {IllustrationNotFound} from '@douyinfe/semi-illustrations';

function NotFound() {
    return (
        <div>
            <Empty image={<IllustrationNotFound/>}
                   description={'404 not found'}
            />
        </div>
    )
}

Environment

- OS:
- browser:

Anything else?

nothing

HoChienkuo avatar Jul 02 '25 08:07 HoChienkuo

感谢您反馈 Semi 在 React 19 下使用的异常问题!我们团队预计将在 2025 年 Q3 进行 React 19 的全面适配与优化工作,目前处于收集问题阶段,您的反馈将在 React 19 适配完成后得到处理,详细信息可参考 issue。 Thank you for your feedback on the abnormal issues when using Semi under React 19! Our team plans to fully adapt and optimize React 19 in Q3 2025. We are currently in the stage of collecting issues. Your feedback will be processed after the adaptation of React 19 is completed. For more information, please refer to issue.

github-actions[bot] avatar Jul 02 '25 08:07 github-actions[bot]

感谢您反馈 Semi 在 React 19 下使用的异常问题!我们团队预计将在 2025 年 Q3 进行 React 19 的全面适配与优化工作,目前处于收集问题阶段,您的反馈将在 React 19 适配完成后得到处理,详细信息可参考 issue。 Thank you for your feedback on the abnormal issues when using Semi under React 19! Our team plans to fully adapt and optimize React 19 in Q3 2025. We are currently in the stage of collecting issues. Your feedback will be processed after the adaptation of React 19 is completed. For more information, please refer to issue.

github-actions[bot] avatar Jul 02 '25 08:07 github-actions[bot]

What is the status on this?

orangecoding avatar Oct 07 '25 11:10 orangecoding