Skip to content

Commit 0328e63

Browse files
chore(React 19): removed additional deprecations (#11538)
* chore(React 19): removed additional deprecations * Removed static directory in docs
1 parent 4250f67 commit 0328e63

File tree

5 files changed

+3
-190
lines changed

5 files changed

+3
-190
lines changed

packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState> {
282282
shortcutsPopoverButtonText: 'View Shortcuts',
283283
shortcutsPopoverProps: {
284284
bodyContent: '',
285-
'aria-label': 'Keyboard Shortcuts',
286-
...Popover.defaultProps
285+
'aria-label': 'Keyboard Shortcuts'
287286
},
288287
showEditor: true,
289288
options: {},

packages/react-core/src/helpers/util.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as ReactDOM from 'react-dom';
21
import { globalWidthBreakpoints, globalHeightBreakpoints, SIDE } from './constants';
32

43
/**
@@ -180,8 +179,8 @@ export function keyHandler(
180179
if (refsCollection[nextIndex].focus) {
181180
refsCollection[nextIndex].focus();
182181
}
183-
// eslint-disable-next-line react/no-find-dom-node
184-
const element = ReactDOM.findDOMNode(refsCollection[nextIndex]) as HTMLElement;
182+
183+
const element = refsCollection[nextIndex] as HTMLElement;
185184
element.focus();
186185
} else if (position !== 'tab') {
187186
if (isMultiDimensional) {

packages/react-docs/static/like-button.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

packages/react-docs/static/umd.html

Lines changed: 0 additions & 98 deletions
This file was deleted.

packages/react-table/src/test-helpers/MockedTableChanges.js

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)