-
Hi, I am very interested in the features offered by rnx-bundle (type-safety and tree shaking integrated in Metro). But there is something I don't understand. So I wonder: is this guide and the features added by rnx-bundle applicable to "classic" react-native projects, created via the Thanks in advance, and thanks again for your work on this tool. 😄 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I think it just means that where you used to call cc @afoxman |
Beta Was this translation helpful? Give feedback.
-
Hi @Thanaen, Thanks for trying out the guide and taking time to start a discussion! The I think what's missing here is clear & specific guidance for new To help you now, @tido64 has the right idea. If you're doing bundling, you can use This got me thinking -- we should plug into the |
Beta Was this translation helpful? Give feedback.
-
Hello again, @afoxman & @tido64 ! I have a question again after all this time: I haven't done it, and I wonder if I've felt like I've been using rnx-bundle for months without actually using it. 😆 |
Beta Was this translation helpful? Give feedback.
-
Hi @Thanaen, yes, you should use |
Beta Was this translation helpful? Give feedback.
Hi @Thanaen,
Thanks for trying out the guide and taking time to start a discussion! The
rnx-bundle
command is definitely for classic RN apps created with react-native init. It's for any RN app, really, where you use thereact-native bundle
.I think what's missing here is clear & specific guidance for new
react-native init
projects. When I wrote this, I was trying to address the more complicated scenario of "I have an existing RN app which I bundle, and I want to start using rnx-bundle". I'll get an issue filed to make this distinction -- like maybe under Configuring your App, I'll have sections for New App and Existing App. (Filed as #1565).To help you now, @tido64 has the right idea. If…