MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / applyStrategy

Function applyStrategy

Example/e2etest/src/index.tsx:43–46  ·  view source on GitHub ↗
(strategy: UpdateStrategyMode)

Source from the content-addressed store, hash-verified

41 bundleLabelGlobal.__RNU_E2E_BUNDLE_LABEL || LOCAL_UPDATE_LABELS.base;
42
43 const applyStrategy = (strategy: UpdateStrategyMode) => {
44 client.setOptions({ updateStrategy: strategy });
45 setSelectedStrategy(strategy);
46 };
47
48 useEffect(() => {
49 const listener = (type: string, data?: Record<string, unknown>) => {

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected