PR adjustments #4816
Annotations
5 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test and Lint:
src/navigation/contactsNavigator/index.tsx#L32
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 “ContactsNavigation” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Test and Lint:
src/navigation/rootNavigator/index.tsx#L60
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 “RootNavigationComponent” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Test and Lint:
src/screens/contacts/ContactDetails.tsx#L130
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 “ContactDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Loading