Skip to content

Fix ReanimatedSwipeable reanimated warnings (#3365) #1905

Fix ReanimatedSwipeable reanimated warnings (#3365)

Fix ReanimatedSwipeable reanimated warnings (#3365) #1905

Triggered via push January 29, 2025 10:57
Status Success
Total duration 8m 29s
Artifacts
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
check (FabricExample): FabricExample/src/App.tsx#L52
Inline style: { flex: 1 }
check (FabricExample): FabricExample/src/App.tsx#L53
Inline style: { flex: 1 }
check (example): example/App.tsx#L330
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/ListWithHeader/ListWithHeader.tsx#L78
Inline style: { flex: 1 }
check (example): example/src/ListWithHeader/ListWithHeader.tsx#L82
'props' is already declared in the upper scope on line 29 column 3
check (example): example/src/basic/fling/index.tsx#L20
Unexpected use of '|'
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/empty/EmptyExample.tsx#L7
Inline style: { fontSize: 64, opacity: 0.25 }
check (example): example/src/empty/EmptyExample.tsx#L8
Inline style: { fontSize: 24, opacity: 0.25 }
check (example): example/src/new_api/bottom_sheet/index.tsx#L56
'snapPoint' is already declared in the upper scope on line 32 column 10