Skip to content

ChunkManager.configure #100

Answered by zamotany
abhilash-u asked this question in Q&A
Discussion options

You must be logged in to vote

In development mode (__DEV__ === true) ChunkManager does not use resolveRemoteChunk unless forceRemoteChunkResolution is set to true. That's why it's able to load chunks even though it points to port 5000.
More: https://re-pack.netlify.app/docs/api/react-native/classes/ChunkManager

In development mode, there's no need to change the port, but if you want to, it's the same process as changing the port with Metro (--port <port> flag and then you need to tell native code to use different port).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abhilash-u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants