Replace defaultProps with default js parameters #2698
Annotations
8 errors and 2 warnings
Run test:
packages/react-native-external-display/index.js#L25
propType "style" is not required, but has no corresponding defaultProps declaration
|
Run test:
packages/react-native-external-display/index.js#L26
propType "mainScreenStyle" is not required, but has no corresponding defaultProps declaration
|
Run test:
packages/react-native-external-display/index.js#L27
propType "screen" is not required, but has no corresponding defaultProps declaration
|
Run test:
packages/react-native-external-display/index.js#L28
propType "fallbackInMainScreen" is not required, but has no corresponding defaultProps declaration
|
Run test:
packages/react-native-external-display/index.js#L29
propType "onScreenConnect" is not required, but has no corresponding defaultProps declaration
|
Run test:
packages/react-native-external-display/index.js#L30
propType "onScreenChange" is not required, but has no corresponding defaultProps declaration
|
Run test:
packages/react-native-external-display/index.js#L31
propType "onScreenDisconnect" is not required, but has no corresponding defaultProps declaration
|
Run test
Process completed with exit code 1.
|
Run test:
packages/react-native-external-display/js/useExternalDisplay.js#L42
React Hook useEffect has missing dependencies: 'onScreenChange', 'onScreenConnect', and 'onScreenDisconnect'. Either include them or remove the dependency array. If 'onScreenConnect' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Get yarn cache directory path
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading