File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 "watch" : " father dev"
4343 },
4444 "dependencies" : {
45- "@rc-component/util" : " ^1.2.0 "
45+ "@rc-component/util" : " ^1.11.1 "
4646 },
4747 "devDependencies" : {
48- "@rc-component/father-plugin" : " ^2.0.2 " ,
48+ "@rc-component/father-plugin" : " ^2.2.0 " ,
4949 "@rc-component/np" : " ^1.0.3" ,
5050 "@testing-library/jest-dom" : " ^5.16.4" ,
5151 "@testing-library/react" : " ^13.0.0" ,
Original file line number Diff line number Diff line change 1- import { getDOM } from '@rc-component/util/lib/Dom/findDOMNode' ;
2- import useEvent from '@rc-component/util/lib/hooks/useEvent' ;
3- import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect' ;
41import {
2+ getDOM ,
53 getNodeRef ,
64 supportNodeRef ,
75 useComposeRef ,
8- } from '@rc-component/util/lib/ref' ;
6+ useEvent ,
7+ useLayoutEffect ,
8+ } from '@rc-component/util' ;
99import React from 'react' ;
1010import type { MutationObserverProps } from './interface' ;
1111import useMutateObserver from './useMutateObserver' ;
Original file line number Diff line number Diff line change 1- import canUseDom from '@rc-component/util/lib/Dom/canUseDom ' ;
1+ import { canUseDom } from '@rc-component/util' ;
22import React from 'react' ;
33
44const defaultOptions : MutationObserverInit = {
You can’t perform that action at this time.
0 commit comments