Skip to content

feat: use proper APIs for newest RN versions on new arch #681

feat: use proper APIs for newest RN versions on new arch

feat: use proper APIs for newest RN versions on new arch #681

Triggered via pull request February 20, 2024 15:08
Status Success
Total duration 2m 34s
Artifacts
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
check (FabricExample)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check (FabricExample)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check (FabricExample): FabricExample/src/App.tsx#L52
Inline style: { flex: 1 }
check (FabricExample): FabricExample/src/App.tsx#L53
Inline style: { flex: 1 }
check (example)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check (example)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check (example): example/src/App.tsx#L204
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “MainScreen” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
check (example): example/src/basic/forcetouch/index.tsx#L34
Inline style: { textAlign: 'center', width: '80%' }
check (example): example/src/basic/pagerAndDrawer/index.android.tsx#L29
Inline style: { flex: 1, backgroundColor: '#fff' }
check (example): example/src/basic/pagerAndDrawer/index.android.tsx#L30
Inline style: { margin: 10, fontSize: 15, textAlign: 'left' }
check (example): example/src/new_api/bottom_sheet/index.tsx#L56
'snapPoint' is already declared in the upper scope
check (example): example/src/new_api/calculator/index.tsx#L30
The array literal notation [] is preferable
check (example): example/src/new_api/calculator/index.tsx#L141
Inline style: { flexGrow: 1 }
check (example): example/src/new_api/calculator/index.tsx#L142
Inline style: { flexGrow: 1 }
check (example): example/src/new_api/camera/index.tsx#L101
'selectedFilter' is already declared in the upper scope
check (example): example/src/new_api/hover/index.tsx#L55
Inline style: { flex: 1 }