bug(build): fixed built ESM files importing CJS files from react-styles #6208
Annotations
11 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
packages/react-core/src/components/BackToTop/BackToTop.tsx#L36
The 'toggleVisible' function makes the dependencies of useEffect Hook (at line 74) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'toggleVisible' in its own useCallback() Hook
|
packages/react-core/src/components/CalendarMonth/CalendarMonth.tsx#L179
React Hook useEffect has a missing dependency: 'focusedDate'. Either include it or remove the dependency array
|
packages/react-core/src/components/CalendarMonth/CalendarMonth.tsx#L186
React Hook useEffect has a missing dependency: 'shouldFocus'. Either include it or remove the dependency array
|
packages/react-core/src/components/DatePicker/DatePicker.tsx#L133
React Hook React.useMemo has a missing dependency: 'placeholder.length'. Either include it or remove the dependency array
|
packages/react-core/src/components/DatePicker/DatePicker.tsx#L144
React Hook React.useEffect has a missing dependency: 'dateParse'. Either include it or remove the dependency array. If 'dateParse' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
packages/react-core/src/components/DatePicker/DatePicker.tsx#L155
React Hook React.useEffect has missing dependencies: 'dateIsRequired', 'dateParse', 'emptyDateText', 'errorText', 'pristine', 'setError', and 'textInputFocused'. Either include them or remove the dependency array. If 'dateParse' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
packages/react-core/src/components/DatePicker/DatePicker.tsx#L221
React Hook useImperativeHandle has an unnecessary dependency: 'selectOpen'. Either exclude it or remove the dependency array
|
packages/react-core/src/components/Drawer/DrawerPanelContent.tsx#L242
Assignments to the 'setInitialVals' variable from inside React Hook React.useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside React.useCallback
|
packages/react-core/src/components/Drawer/DrawerPanelContent.tsx#L258
React Hook React.useCallback has missing dependencies: 'handleControlMove' and 'position'. Either include them or remove the dependency array
|
packages/react-core/src/components/Drawer/DrawerPanelContent.tsx#L259
React Hook React.useCallback has missing dependencies: 'callbackTouchEnd', 'callbackTouchMove', 'currWidth', 'id', and 'onResize'. Either include them or remove the dependency array. If 'onResize' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
The logs for this run have expired and are no longer available.
Loading