chore: Upgrade react-query to v5 #8
Annotations
4 warnings
Lint:
src/screens/Profile/Profile.tsx#L29
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 “Profile” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
src/screens/Profile/Profile.tsx#L37
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 “Profile” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
src/screens/Profile/Profile.tsx#L45
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 “Profile” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
types.d.ts#L5
'@typescript-eslint/no-empty-interface' rule is disabled but never reported
|
Loading