Make Lists, Networking, and UIManager modules Flow strict-local (#57726) - #57726
Closed
rubennorte wants to merge 1 commit into
Closed
Make Lists, Networking, and UIManager modules Flow strict-local (#57726)#57726rubennorte wants to merge 1 commit into
rubennorte wants to merge 1 commit into
Conversation
|
@rubennorte has exported this pull request. If you are a Meta employee, you can view the originating Diff in D113763786. |
|
Warning JavaScript API change detected This PR commits an update to
This change was flagged as: |
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Jul 28, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: huntie Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
July 28, 2026 17:27
3deac41 to
75544e6
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Jul 29, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: huntie Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
July 29, 2026 10:54
75544e6 to
5b78b2d
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Jul 29, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: huntie Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
July 29, 2026 13:44
5b78b2d to
08674ef
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 3, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 3, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 3, 2026 14:43
08674ef to
f90761a
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 3, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 3, 2026 16:29
f90761a to
153049e
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 7, 2026 09:52
153049e to
c030674
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 7, 2026 09:57
c030674 to
fca57c9
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 7, 2026 13:01
fca57c9 to
bba24f0
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 7, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 8, 2026 10:19
0bc72a1 to
c34406e
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 8, 2026 10:26
c34406e to
957e367
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 8, 2026 10:29
957e367 to
7c04aca
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
2 times, most recently
from
September 8, 2026 11:47
32df93a to
32ff8b7
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 8, 2026 12:24
32ff8b7 to
3216ff7
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Their existing public type signatures are preserved exactly, so consumers are unaffected; internal `any`/`Object` usages were replaced with accurate types. One consumer was updated to match. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 8, 2026 14:52
3216ff7 to
e9b611a
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. The `headers` parameters on the `XHRInterceptor` interface keep their original `Object` type behind a scoped `$FlowFixMe[unclear-type]`. Flow types indexers invariantly, so any precise annotation would reject existing interceptor implementations that declare a different value type for the header map. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 8, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. The `headers` parameters on the `XHRInterceptor` interface keep their original `Object` type behind a scoped `$FlowFixMe[unclear-type]`. Flow types indexers invariantly, so any precise annotation would reject existing interceptor implementations that declare a different value type for the header map. Changelog: [Internal] Reviewed By: javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 9, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. Two public signatures deliberately keep their original loose types behind a scoped `$FlowFixMe[unclear-type]`, because Flow's invariance rules mean any precise annotation would reject existing callers: the `headers` parameters on the `XHRInterceptor` interface (invariant indexers), and `commandArgs` on `UIManager.dispatchViewManagerCommand` (invariant array elements, which would reject callers passing an already-typed array). Changelog: [Internal] Reviewed By: cipolleschi, javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 9, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. Two public signatures deliberately keep their original loose types behind a scoped `$FlowFixMe[unclear-type]`, because Flow's invariance rules mean any precise annotation would reject existing callers: the `headers` parameters on the `XHRInterceptor` interface (invariant indexers), and `commandArgs` on `UIManager.dispatchViewManagerCommand` (invariant array elements, which would reject callers passing an already-typed array). Changelog: [Internal] Reviewed By: cipolleschi, javache Differential Revision: D113763786
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 9, 2026
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. Two public signatures deliberately keep their original loose types behind a scoped `$FlowFixMe[unclear-type]`, because Flow's invariance rules mean any precise annotation would reject existing callers: the `headers` parameters on the `XHRInterceptor` interface (invariant indexers), and `commandArgs` on `UIManager.dispatchViewManagerCommand` (invariant array elements, which would reject callers passing an already-typed array). Changelog: [Internal] Reviewed By: cipolleschi, javache Differential Revision: D113763786
rubennorte
force-pushed
the
export-D113763786
branch
from
September 9, 2026 10:30
e9b611a to
16f3ac2
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 9, 2026
…t#57726) Summary: Pull Request resolved: react#57726 Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. Two public signatures deliberately keep their original loose types behind a scoped `$FlowFixMe[unclear-type]`, because Flow's invariance rules mean any precise annotation would reject existing callers: the `headers` parameters on the `XHRInterceptor` interface (invariant indexers), and `commandArgs` on `UIManager.dispatchViewManagerCommand` (invariant array elements, which would reject callers passing an already-typed array). Changelog: [Internal] Reviewed By: cipolleschi, javache Differential Revision: D113763786
…t#57726) Summary: Upgrade the FlatList/SectionList list components, the networking modules (`XMLHttpRequest`, `FormData`, `RCTNetworking`, `convertRequestBody`), and the UIManager modules from `flow` to `flow strict-local`. Public type signatures are preserved exactly, so no consumers need updating; internal `any` and `Object` usages were replaced with accurate types wherever that did not change a public signature. Two public signatures deliberately keep their original loose types behind a scoped `$FlowFixMe[unclear-type]`, because Flow's invariance rules mean any precise annotation would reject existing callers: the `headers` parameters on the `XHRInterceptor` interface (invariant indexers), and `commandArgs` on `UIManager.dispatchViewManagerCommand` (invariant array elements, which would reject callers passing an already-typed array). Changelog: [Internal] Reviewed By: cipolleschi, javache Differential Revision: D113763786
|
This pull request has been merged in 0654db9. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Upgrade the FlatList/SectionList list components, the networking modules (
XMLHttpRequest,FormData,RCTNetworking,convertRequestBody), and the UIManager modules fromflowtoflow strict-local. Public type signatures are preserved exactly, so no consumers need updating; internalanyandObjectusages were replaced with accurate types wherever that did not change a public signature.Two public signatures deliberately keep their original loose types behind a scoped
$FlowFixMe[unclear-type], because Flow's invariance rules mean any precise annotation would reject existing callers: theheadersparameters on theXHRInterceptorinterface (invariant indexers), andcommandArgsonUIManager.dispatchViewManagerCommand(invariant array elements, which would reject callers passing an already-typed array).Changelog: [Internal]
Reviewed By: cipolleschi, javache
Differential Revision: D113763786