fix: Improve robustness of hooks and the Canvas component #959
Annotations
5 errors
packages/webgpu/src/Canvas.tsx#L77
React Hook useLayoutEffect has missing dependencies: 'onSizeChange' and 'sizeSignal'. Either include them or remove the dependency array. If 'onSizeChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
packages/webgpu/src/Canvas.tsx#L98
React Hook useCallback has a missing dependency: 'onSizeChange'. Either include it or remove the dependency array. If 'onSizeChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
packages/webgpu/src/hooks.tsx#L109
React Hook useCallback has a missing dependency: 'ref'. Either include it or remove the dependency array
|
|
|
The logs for this run have expired and are no longer available.
Loading