9.2.3 #427
Annotations
10 warnings
Test:
src/blocks/both-sides/index.js#L33
React Hook useSelect has an unnecessary dependency: 'props.clientId'. Either exclude it or remove the dependency array
|
Test:
src/blocks/child-pages/edit.js#L46
React Hook useEffect has missing dependencies: 'parent', 'parentTitle', and 'setAttributes'. Either include them or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/cluster-divided-content/edit.js#L23
React Hook useEffect has a missing dependency: 'setAttributes'. Either include it or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/flex/index.js#L31
React Hook useSelect has an unnecessary dependency: 'props.clientId'. Either exclude it or remove the dependency array
|
Test:
src/blocks/grid/index.js#L30
React Hook useSelect has an unnecessary dependency: 'props.clientId'. Either exclude it or remove the dependency array
|
Test:
src/blocks/layers/edit.js#L41
The 'defaultAttributes' object makes the dependencies of useEffect Hook (at line 60) change on every render. To fix this, wrap the initialization of 'defaultAttributes' in its own useMemo() Hook
|
Test:
src/blocks/layers/index.js#L35
React Hook useSelect has an unnecessary dependency: 'props.clientId'. Either exclude it or remove the dependency array
|
Test:
src/blocks/responsive-grid-divided-content/edit.js#L23
React Hook useEffect has a missing dependency: 'setAttributes'. Either include it or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/section/edit.js#L39
The 'defaultAttributes' object makes the dependencies of useEffect Hook (at line 58) change on every render. To fix this, wrap the initialization of 'defaultAttributes' in its own useMemo() Hook
|
Test:
src/blocks/stack-divided-content/edit.js#L23
React Hook useEffect has a missing dependency: 'setAttributes'. Either include it or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|