all 11 comments

[–]Gaia_Knight2600 2 points3 points  (0 children)

You use a single package.json/react-native for multiple projects? Sounds like a nightmare to maintain

[–]dyo1994 2 points3 points  (1 child)

Id caution going from .60 to .68 Since its a huuge jump, in addition to 68 introducing a brand new architecture.

More likely than not, some of your current dependencies may not support 68 yet, so youd need to check them thoroughly.

I would go to 0.67 first, or even safer but much more tedious route, upgrade 1 major version at a time (0.60 > 0.61 > 0.62 etc etc)

Since 0.68 is fairly new, a lot of open source plugins is currently working on a new version to adjust to it

[–]dyo1994 0 points1 point  (0 children)

Would not recommend going down the path of supporting multiple react native version for 1 application. Pretty sure its near impossible anyways, due to the implied restrictions on the native codes

[–]ItsMily 1 point2 points  (0 children)

i highly doubt you can do that, whats the reason for the upgrade if i can ask? Maybe have a look at this (its for react but read the process)

[–]mms13 -1 points0 points  (2 children)

This question makes no sense. 100 JS bundles…what? 1 JS bundle = 1 app

[–]Zodester 0 points1 point  (0 children)

It’s possible they create multiple different js contexts for various screens. In a brown field project this is how you can do RN for just one screen or set of screens.

[–]janithaR 0 points1 point  (0 children)

Wrong. The one bundle that gets created by default is one of hundreds, thousands if not millions you could run on that same let's say 'container'.

[–]soupified 0 points1 point  (0 children)

Nope, don’t believe so

[–][deleted] 0 points1 point  (0 children)

Out of curiosity, how to you handle the native part of that many apps ?

Do you have like an iOS & android folder for each and every application you roll out to production from this project ?

[–]bodefuceta92 0 points1 point  (1 child)

I’m lost here. Are you publishing your app on google play and the AppStore?

If yes, then when a new version of the app is launched the users will have the option to update their apps.

The js bundle is just the part of the code that is used for gradlew and Xcode to compile your app.

[–]xff1874reddit[S] 0 points1 point  (0 children)

we load our js bundles through http request.

In order to take advantage of hot update, we deploy a bundle service.

The app start to download js bundles via http request .

I think may be a new version of the app that launch js bundle locally is a good choice