Async Chunks & Native Components #448
-
I know that Re:Pack supports Module Federation and Async Chunks, but what is the line as far as needing to redeploy the application to store vs being able to use a CDN to, at runtime, download the Async Chunk? Specifically, wondering how this works with the native component compilation in RN and remotely serving those chunks. Note: Not related to store reviews. I'm aware of the iOS store review issues with remote deployed code updates. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
According to MS CodePush (which does a very similar thing), a recompile and new store/MDM push is only needed if it touches native code or adds new native dependencies. In their README, they state:
Which reads to me like as long as you don't add native dependencies or modify native code, you're good to push from CDN and not have to recompile and push through store. If anyone else has experience with this and can confirm or deny, please do. |
Beta Was this translation helpful? Give feedback.
-
Hi @steventnorris, this is pretty much spot on, you can keep redeploying with CDN as long as your changes are limited to JS, including adding new JS-only dependencies. |
Beta Was this translation helpful? Give feedback.
Hi @steventnorris,
t…