mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update description about jsBundleURLForBundleRoot method (#39265)
Summary: Update comment in RCTBundleURLProvider.h to use correct `jsBundleURLForBundleRoot` import with `fallbackExtension` instead `fallbackResource` ## Changelog: - Update comment in `jsBundleURLForBundleRoot` definition on RCTBundleURLProvider.h file. Pick one each for the category and type tags: [IOS][CHANGED] - Updated comment in RCTBundleURLProvider.h to instance correct jsBundleURLForBundleRoot:fallbackExtension method. Pull Request resolved: https://github.com/facebook/react-native/pull/39265 Test Plan: N/A Reviewed By: cortinico Differential Revision: D49227104 Pulled By: GijsWeterings fbshipit-source-id: 6ccfb984ab6c1e858f1c568b2dd8f4626e133ffb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a931867286
commit
d208dc422c
@@ -112,7 +112,7 @@ RCT_EXTERN void RCTBundleURLProviderAllowPackagerServerAccess(BOOL allowed);
|
||||
|
||||
/**
|
||||
* Given a hostname for the packager and a bundle root, returns the URL to the js bundle. Generally you should use the
|
||||
* instance method -jsBundleURLForBundleRoot:fallbackResource: which includes logic to guess if the packager is running
|
||||
* instance method -jsBundleURLForBundleRoot:fallbackExtension: which includes logic to guess if the packager is running
|
||||
* and fall back to a pre-packaged bundle if it is not.
|
||||
*
|
||||
* The options here mirror some of Metro's Bundling Options:
|
||||
|
||||
Reference in New Issue
Block a user