New Architecture migration reports #177
Replies: 17 comments 20 replies
-
@kadikraman and I tried it on the upcoming React Conf app and it worked well without any changes on both Android and iOS :) here is our package.json: https://gist.github.com/brentvatne/6c966e0c5dc2dc857afc893c92904579
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Right here is video, as soon as i make change to BottomSheet then it crashes. Screen.Recording.2024-05-08.at.16.24.46.movRepo to test: https://github.com/MariuzM/expo-starter/blob/main/src/components/BottomSheet.tsx But if i don't use |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hello, I've enabled newArch in our incubation project web5 wallet iOS newArch: works iOS bridgeless: does not work (and therefore disabled it) Currently Android newArch is blocked by a run time error: /root/react-native/packages/react-native/ReactCommon/jsi/jsi/jsi-inl.h:187: std::shared_ptr<T> facebook::jsi::Object::getHostObject(Runtime &) const [T = facebook::react::RuntimeSchedulerBinding]: assertion "isHostObject<T>(runtime)" failed This is difficult to debug because I cannot invoke the debugger since the error is so early in the callstack the debugger doesn't have a chance to run and catch it. I've tried to isolate the error by commenting out all code and imports in |
Beta Was this translation helpful? Give feedback.
-
Error recovery for fast refreshAfter enabling new-arch on a development build in a on device iOS Expo project, it appears that the fast refresh feature stops working after an error (e.g., |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
When the keyboard opens to enter text in a text input, the KeyboardAvoidingView animation lags slightly behind the animation of the keyboard appearing. |
Beta Was this translation helpful? Give feedback.
-
When I use the new architecture, the onchange event of TextInput will trigger twice. Don't you even take care of this basic component? My version "react native": "0.74.3", "expo": "~51.0.21", |
Beta Was this translation helpful? Give feedback.
-
Note
tl;dr: The New Architecture is being rolled out in 2024, and now is a great time to test your apps with it enabled. Use this discussion topic to share reports of your experiences enabling the New Architecture in your apps, so we can learn what we have done well, what we need to improve, and help you to work through any issues.
With the New Architecture rolling out in 2024, the Interop Layer and Bridgeless enabled by default in React Native 0.74, and the recent and ongoing push to achieve widespread New Architecture support in third-party libraries, now is the time to try enabling it in your app!
You can try the New Architecture in your app even if some of the libraries you use aren't supported. Create a new branch in your repository and remove any of the libraries that aren't compatible, until your app is running. This will give you a good idea of what libraries still need work before you can fully migrate to the New Architecture. We recommend creating issues or pull requests on those libraries' repositories to help them become compatible with the New Architecture.
When you've tried it out, report your findings here! Share the exact React Native version used (0.74.0 or the most recent available at the time of reading is strongly advised), which libraries you used that did not work, and any other problems you observed.
Resources to get started:
Beta Was this translation helpful? Give feedback.
All reactions