Skip to content

Commit 9c75794

Browse files
committed
chore: move rc-util to @rc-components
1 parent 2c5614e commit 9c75794

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"dependencies": {
3838
"@babel/runtime": "^7.10.1",
39-
"rc-util": "^5.27.0"
39+
"@rc-component/util": "^1.3.0"
4040
},
4141
"devDependencies": {
4242
"@rc-component/father-plugin": "^1.0.0",

src/Immutable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { supportRef } from 'rc-util/lib/ref';
1+
import { supportRef } from '@rc-component/util/lib/ref';
22
import * as React from 'react';
33

44
export type CompareProps<T extends React.ComponentType<any>> = (

src/context.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import useEvent from 'rc-util/lib/hooks/useEvent';
2-
import useLayoutEffect from 'rc-util/lib/hooks/useLayoutEffect';
3-
import isEqual from 'rc-util/lib/isEqual';
1+
import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect';
2+
import useEvent from '@rc-component/util/lib/hooks/useEvent';
3+
import isEqual from '@rc-component/util/lib/isEqual';
44
import * as React from 'react';
55
import { unstable_batchedUpdates } from 'react-dom';
66

0 commit comments

Comments
 (0)