Skip to content

feat: Raise minimum supported React version to 18 #3866

feat: Raise minimum supported React version to 18

feat: Raise minimum supported React version to 18 #3866

Triggered via pull request January 29, 2025 02:39
Status Failure
Total duration 7m 42s
Artifacts

ci-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 9 warnings
Build and Test
@rocket.chat/fuselage#test: command (/home/runner/work/fuselage/fuselage/packages/fuselage) /tmp/xfs-0066dfe9/yarn run test exited (1)
Build and Test
Process completed with exit code 1.
Build and Test: packages/layout/src/BackgroundLayer/BackgroundLayer.tsx#L29
React Hook useMemo has missing dependencies: 'background', 'backgroundDark', and 'darkMode'. Either include them or remove the dependency array
Build and Test: packages/fuselage/src/components/AutoComplete/AutoComplete.tsx#L131
React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array
Build and Test: packages/fuselage/src/components/InputBox/InputBox.tsx#L98
React Hook useLayoutEffect has a missing dependency: 'addon'. Either include it or remove the dependency array
Build and Test: packages/fuselage/src/components/MultiSelect/MultiSelect.tsx#L126
React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array
Build and Test: packages/fuselage/src/components/Select/SelectLegacy.tsx#L50
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
Build and Test: packages/fuselage/src/components/Select/SelectLegacy.tsx#L50
React Hook useEffect has a missing dependency: 'fn'. Either include it or remove the dependency array
Build and Test: packages/onboarding-ui/src/pages/LoaderPage/LoaderPage.tsx#L37
React Hook useEffect has a missing dependency: 'loadingSeconds'. Either include it or remove the dependency array
Build and Test: packages/onboarding-ui/src/pages/RedirectPage/RedirectPage.tsx#L32
React Hook useEffect has a missing dependency: 'seconds'. Either include it or remove the dependency array
Build and Test: packages/onboarding-ui/src/pages/RedirectPage/RedirectPage.tsx#L36
React Hook useEffect has a missing dependency: 'onRedirect'. Either include it or remove the dependency array. If 'onRedirect' changes too often, find the parent component that defines it and wrap that definition in useCallback