https://github.com/ant-design/v5-patch-for-react-19
Patch for antd v5 to compatible with React 19
https://github.com/ant-design/v5-patch-for-react-19
Last synced: 3 months ago
JSON representation
Patch for antd v5 to compatible with React 19
- Host: GitHub
- URL: https://github.com/ant-design/v5-patch-for-react-19
- Owner: ant-design
- License: mit
- Created: 2024-12-24T03:08:38.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-21T21:37:10.000Z (10 months ago)
- Last Synced: 2025-10-02T02:52:52.184Z (3 months ago)
- Language: TypeScript
- Size: 52.7 KB
- Stars: 19
- Watchers: 5
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @ant-design/v5-patch-for-react-19
React Trigger Component
[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![build status][github-actions-image]][github-actions-url]
[![Test coverage][codecov-image]][codecov-url]
[![bundle size][bundlephobia-image]][bundlephobia-url]
[![dumi][dumi-image]][dumi-url]
[npm-image]: http://img.shields.io/npm/v/@ant-design/v5-patch-for-react-19.svg?style=flat-square
[npm-url]: http://npmjs.org/package/@ant-design/v5-patch-for-react-19
[github-actions-image]: https://github.com/ant-design/v5-patch-for-react-19/workflows/CI/badge.svg
[github-actions-url]: https://github.com/ant-design/v5-patch-for-react-19/actions
[circleci-image]: https://img.shields.io/circleci/ant-design/v5-patch-for-react-19/master?style=flat-square
[circleci-url]: https://circleci.com/gh/ant-design/v5-patch-for-react-19
[codecov-image]: https://img.shields.io/codecov/c/github/ant-design/v5-patch-for-react-19/master.svg?style=flat-square
[codecov-url]: https://app.codecov.io/gh/ant-design/v5-patch-for-react-19
[david-url]: https://david-dm.org/ant-design/v5-patch-for-react-19
[david-image]: https://david-dm.org/ant-design/v5-patch-for-react-19/status.svg?style=flat-square
[david-dev-url]: https://david-dm.org/ant-design/v5-patch-for-react-19?type=dev
[david-dev-image]: https://david-dm.org/ant-design/v5-patch-for-react-19/dev-status.svg?style=flat-square
[download-image]: https://img.shields.io/npm/dm/@ant-design/v5-patch-for-react-19.svg?style=flat-square
[download-url]: https://npmjs.org/package/@ant-design/v5-patch-for-react-19
[bundlephobia-url]: https://bundlephobia.com/result?p=@ant-design/v5-patch-for-react-19
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@ant-design/v5-patch-for-react-19
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
[dumi-url]: https://github.com/umijs/dumi
## Install
[](https://npmjs.org/package/@ant-design/v5-patch-for-react-19)
## Usage
Import directly and will auto fill the patch on React 19:
```js
import '@ant-design/v5-patch-for-react-19';
```
## Compatibility
| [
](http://godban.github.io/browsers-support-badges/)
IE / Edge | [
](http://godban.github.io/browsers-support-badges/)
Firefox | [
](http://godban.github.io/browsers-support-badges/)
Chrome | [
](http://godban.github.io/browsers-support-badges/)
Safari | [
](http://godban.github.io/browsers-support-badges/)
Electron |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
## Example
http://localhost:8000/
online example: http://ant-design.github.io/v5-patch-for-react-19/
## Development
```
npm install
npm start
```
## Test Case
```
npm test
```
## Coverage
```
npm run coverage
```
open coverage/ dir
## License
Released under the MIT license.