Commit 41380f3
Deprecate XHRInterceptor and WebSocketInterceptor APIs (#54869)
Summary:
Pull Request resolved: #54869
These APIs are unused within React Native since #54868, and we now implement the `Network` CDP domain in core (React Native DevTools and other CDP clients).
These APIs are private under the Strict TypeScript API, however have some open source usages in Reactotron and Rozenite, which is why we aren't removing these immediately.
We intend to remove these APIs in future, but with no immediate planned timeline.
Changelog:
[General][Deprecated] - Deprecate `XHRInterceptor` and `WebSocketInterceptor` APIs. Developer tools should use the CDP `Network` domain instead.
Reviewed By: vzaidman, javache
Differential Revision: D89051528
fbshipit-source-id: d0c0f87f2663d92fa08be20cc674ab4345a104d61 parent 72097f0 commit 41380f3
2 files changed
Lines changed: 6 additions & 5 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments