This repository contains 2 "Hello World" React Native apps. One is built with the old React Native architecture and the other is built with the new React Native architecture. The apps are the same. They each consist of 1 screen with a collaspsing header. As the header collapses the text 'World' should shrink.
- cd to the
newarch
app - Run
npm install
- Run
npx react-native run-android
- Collapse the header by scrolling up
- The text 'World' should shrink but doesn't.
Repeat the above steps in the oldarch app and you'll see that the text 'World' shrinks as expected at step 5. The text shrinks correctly in the new architecture example if useNativeDriver
is set to false.