react-native-config standard - Agenda 2023-01-19 #2125
kelset
started this conversation in
Bundle Working Group
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Agenda notes
Where are we today
align-deps
Use align-deps to help migrate apps to the New Architecture #1863react-native.config.js
https://github.com/react-native-community/cli/blob/main/docs/configuration.md#configurationapp.json
/app.config.js
https://docs.expo.dev/workflow/configuration/app.json
used in non Expo-projects? RNTA?expo-module.config.json
(https://docs.expo.dev/modules/autolinking/)app.json
https://github.com/microsoft/react-native-test-app/wiki/Manifest-(app.json)codegenConfig
where do we want to be
🔴 = no support for new arch at all
🟡 = we can infer that it will probably work with the new arch based on. For example, we could use the same one that RNDirectory uses, based on the presence of the codegenConfig field in package.json
🟢 = library has our custom-setting field set to true
How can we get there?
react-native-config
section of package.json that is spec'd and is coherent with existing config approach (should 1:1 having areact-native.config.js
/app.config.js
) with a dedicated field for declaring new arch supportapp.json
entirely while at it?Let's discuss!
react-native-library
section would be a much better namereact-native-metadata
/react-native-meta
is another broader alternative that would allow to keep everything within it and could potentially work along a future alsoreact-native-config
reactNativeMeta
looks like a winnerAction items
reactNativeMeta
so that we can async fill the details of the specific fieldsBeta Was this translation helpful? Give feedback.
All reactions