ebayui-core-react
ebayui-core-react copied to clipboard
Get rid of legacy React stuff
https://react.dev/reference/react/legacy
Legacy React APIs
These APIs are exported from the react package, but they are not recommended for use in newly written code. See the linked individual API pages for the suggested alternatives. Legacy APIs
- Found in 26 files: Children lets you manipulate and transform the JSX received as the children prop. See alternatives.
- Found in 20 files: cloneElement lets you create a React element using another element as a starting point. See alternatives.
- Found in 2 files: createElement lets you create a React element. Typically, you’ll use JSX instead.
- Found in EbayPagination and tests/stories: createRef creates a ref object which can contain arbitrary value. See alternatives.
- Not found: Component lets you define a React component as a JavaScript class. See alternatives.
- Not found: isValidElement checks whether a value is a React element. Typically used with cloneElement.
- Not found: PureComponent is similar to Component, but it skip re-renders with same props. See alternatives.