diff --git a/src/App.native.tsx b/src/App.native.tsx index 1291c3140a..696ced9611 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -1,6 +1,5 @@ import * as React from 'react' import {View} from 'react-native' -import {observer} from 'mobx-react-lite' import Animated, {useAnimatedScrollHandler} from 'react-native-reanimated' export default function App() { @@ -19,7 +18,7 @@ export default function App() { return } -const Child = observer(function ({onScroll}) { +const Child = React.memo(function ({onScroll}) { return (