fix(useResizeObserver): undefined variable alternative #27138
Annotations
4 errors and 1 warning
Lint JavaScript:
packages/react/src/hooks/useResizeObserver.ts#L42
Unnecessary conditional, value is always falsy
|
Lint JavaScript:
packages/react/src/hooks/useResizeObserver.ts#L47
Unnecessary optional chain on a non-nullish value
|
Lint JavaScript:
packages/react/src/hooks/useResizeObserver.ts#L56
Avoid using "resize" event listener. Consider using ResizeObserver instead
|
Lint JavaScript
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading