Support new version of WP and update dependencies #4
Annotations
1 error and 4 warnings
build
Process completed with exit code 127.
|
build:
src/link/edit.js#L193
React Hook useEffect has missing dependencies: 'handleTextEdit' and 'lastValue'. Either include them or remove the dependency array
|
build:
src/link/inline.js#L42
React Hook useEffect has a missing dependency: 'value'. Either include it or remove the dependency array. If 'setTitle' needs the current value of 'value', you can also switch to useReducer instead of useState and read 'value' in the reducer
|
build:
src/link/preview.js#L35
React Hook useCallback has a missing dependency: 'onForceClose'. Either include it or remove the dependency array. If 'onForceClose' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/link/preview.js#L100
React Hook useLayoutEffect has a missing dependency: 'onForceClose'. Either include it or remove the dependency array
|