Stuff #1062
Annotations
10 warnings
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L105
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 “ClubPage” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/event/[id].tsx#L122
'event' is already declared in the upper scope on line 65 column 11
|
Lint:
frontend/mobile/src/app/app/event/[id].tsx#L154
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 “EventPage” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/detail.tsx#L71
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 “UserDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/detail.tsx#L76
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 “UserDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/detail.tsx#L77
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 “UserDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/events.tsx#L18
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 “UserEvents” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/events.tsx#L23
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 “UserEvents” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/following.tsx#L33
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 “Following” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/app/user/following.tsx#L38
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 “Following” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|