chore: update React Native example (#14778)

This commit is contained in:
Simen Bekkhus 2023-12-25 16:17:44 +01:00 committed by GitHub
parent 92b6285479
commit 341f529deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 476 additions and 445 deletions

View File

@ -64,7 +64,7 @@ exports[`renders the FlatList component 1`] = `
onScrollEndDrag={[Function]}
removeClippedSubviews={false}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={[]}
viewabilityConfigCallbackPairs={[]}
>

View File

@ -6,5 +6,5 @@ const rnRequire = createRequire(require.resolve('react-native'));
module.exports = {
// RN bundles this preset, so let's load it instead of depending on it ourselves
presets: [rnRequire.resolve('metro-react-native-babel-preset')],
presets: [rnRequire.resolve('@react-native/babel-preset')],
};

View File

@ -8,7 +8,7 @@
},
"dependencies": {
"react": "18.2.0",
"react-native": "0.72.3"
"react-native": "0.73.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",

915
yarn.lock

File diff suppressed because it is too large Load Diff