[1/2] [@graphiql/react] compile source code with react-compiler, remove useMemo
and useCallback
usages
#993
Annotations
1 error and 14 warnings
Jest Unit & Integration Tests
Process completed with exit code 1.
|
Install
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
CSpell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check Licenses
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Cypress
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Vitest Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint:
packages/graphiql-react/src/editor/context.tsx#L325
The 'setShouldPersistHeaders' function makes the dependencies of useEffect Hook (at line 345) change on every render. To fix this, wrap the definition of 'setShouldPersistHeaders' in its own useCallback() Hook
|
ESLint:
packages/graphiql-react/src/editor/query-editor.ts#L517
The 'externalFragmentList' array makes the dependencies of useEffect Hook (at line 531) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'externalFragmentList' in its own useMemo() Hook
|
ESLint:
packages/graphiql-react/src/plugin.tsx#L153
The 'setVisiblePlugin' function makes the dependencies of useEffect Hook (at line 172) change on every render. To fix this, wrap the definition of 'setVisiblePlugin' in its own useCallback() Hook
|
ESLint:
packages/graphiql-react/src/schema.tsx#L177
The 'introspect' function makes the dependencies of useEffect Hook (at line 303) change on every render. To fix this, wrap the definition of 'introspect' in its own useCallback() Hook
|
ESLint:
packages/graphiql-react/src/utility/resize.ts#L75
The 'setHiddenElementWithCallback' function makes the dependencies of useEffect Hook (at line 262) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'setHiddenElementWithCallback' in its own useCallback() Hook
|
Jest Unit & Integration Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|