Skip to content

Commit f84eeb4

Browse files
committed
chore: mark legacy RF as deprecated
1 parent cb7ef9d commit f84eeb4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/expo-resource-fetcher/src/legacy/ResourceFetcher.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* It is functionally equivalent to the default `ExpoResourceFetcher` export, but uses the legacy
99
* `expo-file-system/legacy` APIs under the hood. Prefer this build only if you cannot adopt the new
1010
* file-system API yet.
11+
*
12+
* @deprecated This is a frozen code path that will be deprecated in the next major release.
13+
* We recommend migrating to the non-legacy imports.
1114
* @category Utilities - General
1215
* @remarks
1316
* **Key Functionality:**
@@ -192,4 +195,8 @@ class ExpoResourceFetcherClass extends BaseResourceFetcherClass<ActiveDownload>
192195
}
193196
}
194197

198+
/**
199+
* @deprecated This is a frozen code path that will be deprecated in the next major release.
200+
* We recommend migrating to the non-legacy imports.
201+
*/
195202
export const ExpoResourceFetcher = new ExpoResourceFetcherClass();

0 commit comments

Comments
 (0)