enhancementfeaturefeature/network-inspecthelp wanted
Description
Currently we have the feature just use originalXMLHttpRequest to replace XHR (see the code), then we can inspect the requests in Network tab of devtools. It's very useful to me, but it has some limitations that cause others to be confused. (See documentation)
Would be better if we just implement our Network Inspect:
- Use XHRInterceptor of React Native or implement the similar thing, and send network data from
RNDebuggerWorkertotopcontext- Need an option like
sanitizerfor avoid some fields send like large data
- Need an option like
Maybe implement UI indevtools-helperas dev panel of devtools (Call itRN Network?), we can polling data bychrome.devtools.inspectedWindow.eval, or send data fromtopcontext to background script- We may need to upgrade remotedev-app to v0.11 (current beta) first because it have custom tabs UI
But we can't implement some Network tab of Chrome DevTools features like Offline and Throttling, so if this got implemented, I'll keep the original feature, may just remove the context menu item and Touch Bar button.