We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c413fe6 commit 5b0379fCopy full SHA for 5b0379f
packages/react-native/src/sync/stream/ReactNativeRemote.ts
@@ -27,10 +27,6 @@ export const STREAMING_POST_TIMEOUT_MS = 30_000;
27
* a polyfill.
28
*/
29
class ReactNativeFetchProvider extends FetchImplementationProvider {
30
- constructor(public logger: ILogger = DEFAULT_REMOTE_LOGGER) {
31
- super();
32
- }
33
-
34
getFetch(): FetchImplementation {
35
return fetch.bind(globalThis);
36
}
@@ -44,7 +40,7 @@ export class ReactNativeRemote extends AbstractRemote {
44
40
) {
45
41
super(connector, logger, {
46
42
...(options ?? {}),
47
- fetchImplementation: options?.fetchImplementation ?? new ReactNativeFetchProvider(logger)
43
+ fetchImplementation: options?.fetchImplementation ?? new ReactNativeFetchProvider()
48
});
49
50
0 commit comments