jhen0409 / jhen0409/react-native-debugger
Network request interceptor breaks apps that use MSW
- Lingua principale
- JavaScript
- Stelle
- 10.4k
- Fork
- 815
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
React Native Debugger app version: latest
React Native version: 0.71.1
Platform: Android
Is real device of platform: No, Android simulator
Operating System: macOS
MSW source for React Native
https://github.com/mswjs/msw/blob/main/src/native/index.ts
https://github.com/mswjs/interceptors/tree/main/src/interceptors
Note that MSW for React Native does not spawn a server or add a service worker. It instead intercepts XMLHttpRequest's.
I assume that whatever the network interceptor code for `react-native-debugger` may do a similar thing and it shows requests as failed in the network tab of chrome and breaks the entire app.
I fully understand if this would fit better as a feature request or if you all won't touch it at all.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema nel simulatore Android con React Native 0.71.1, quindi confronta l’intercettazione di rete del debugger con il codice sorgente React Native di MSW e con l’implementazione di interceptors collegata. Il lavoro è completato quando le richieste gestite da MSW continuano a funzionare e non vengono più mostrate come non riuscite nella scheda di rete di Chrome.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, react-native
- Ambito
- devtools, networking
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 28/100