Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

fix: react18 createRoot渲染模式,严格模式下,渲染错误问题 #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/ali-react-table/src/base-table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ export class BaseTable extends React.Component<BaseTableProps, BaseTableState> {
}

componentDidMount() {
this.rootSubscription = new Subscription()
this.updateDOMHelper()
this.props$ = new BehaviorSubject(this.props)
this.initSubscriptions()
Expand Down