-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove RCTSurfaceSizeMeasureMode from public contract of RCTSurfaceHostingProxyRootView #38866
Conversation
This pull request was exported from Phabricator. Differential Revision: D48140102 |
Base commit: 676676c |
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: 9076e3431b590125e30e4973cf4eec4a43c00499
1defa37
to
c8b56c3
Compare
This pull request was exported from Phabricator. Differential Revision: D48140102 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D48140102 |
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: 62218abe97eb2152865f5581e016af32ad636249
c8b56c3
to
bbbbcfc
Compare
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: 93df37e51316183ef51a221973f706d134fe8460
bbbbcfc
to
57a0cbe
Compare
This pull request was exported from Phabricator. Differential Revision: D48140102 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D48140102 |
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: 0de00d67b8dd2327de885b973df185704ae9e49d
57a0cbe
to
be7e198
Compare
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: ab9e6751d17c6c77aab6422226d5c57aad9adfb2
be7e198
to
41d07b3
Compare
This pull request was exported from Phabricator. Differential Revision: D48140102 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D48140102 |
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: ac93361423c2fdfce0557482a5e30172b8107b29
41d07b3
to
cc6c3e0
Compare
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 Changelog: [Internal] All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Differential Revision: D48140102 fbshipit-source-id: 6c6fef9503bc54a2b2ca76a374a408f8d45af996
cc6c3e0
to
f1e086b
Compare
This pull request was exported from Phabricator. Differential Revision: D48140102 |
Summary: Pull Request resolved: facebook#38869 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: mdvacca, cipolleschi Differential Revision: D48140317 fbshipit-source-id: d87ea48f911de08e260c2c12cc5141565afb084a
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 ## Changelog: [iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Reviewed By: sammy-SC, cipolleschi Differential Revision: D48140102 fbshipit-source-id: 976579779f531083a639bda3eb514feba99f4047
f1e086b
to
d579a81
Compare
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 ## Changelog: [iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Reviewed By: sammy-SC, cipolleschi Differential Revision: D48140102 fbshipit-source-id: a3f8ae019be5454c7dd04a81b66eeb98fafbea01
2a5e56c
to
4962f21
Compare
Summary: Pull Request resolved: facebook#38869 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: mdvacca, cipolleschi Differential Revision: D48140317 fbshipit-source-id: 6c4581e21f789a744214dbaf8ece56883de1cc68
This pull request was exported from Phabricator. Differential Revision: D48140102 |
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 ## Changelog: [iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Reviewed By: sammy-SC, cipolleschi Differential Revision: D48140102 fbshipit-source-id: cf5b95ae6e9fe05fbb4e838e7e8b4ed089e0fc56
4962f21
to
329f782
Compare
Summary: Pull Request resolved: facebook#38869 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: mdvacca, cipolleschi Differential Revision: D48140317 fbshipit-source-id: dea88cecf93d3ae02c84bfc2144e57752d75cfe7
This pull request was exported from Phabricator. Differential Revision: D48140102 |
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 ## Changelog: [iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Reviewed By: sammy-SC, cipolleschi Differential Revision: D48140102 fbshipit-source-id: f68c87685dbc0c7bc03a44cf8c32c4d2ea1d50fe
329f782
to
45a108b
Compare
This pull request was exported from Phabricator. Differential Revision: D48140102 |
Summary: Pull Request resolved: facebook#38869 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: mdvacca, cipolleschi Differential Revision: D48140317 fbshipit-source-id: 382fc9363e238cf391557a2bc76daada65aed2c9
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 ## Changelog: [iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Reviewed By: sammy-SC, cipolleschi Differential Revision: D48140102 fbshipit-source-id: 40c45309354926d6f8b3eb36fc78b8db4cc7cc2a
45a108b
to
5df456f
Compare
…stingProxyRootView (facebook#38866) Summary: Pull Request resolved: facebook#38866 ## Changelog: [iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default. Reviewed By: sammy-SC, cipolleschi Differential Revision: D48140102 fbshipit-source-id: 091b53f86e8bc6e2d28419d76161e30eda051cbe
This pull request was exported from Phabricator. Differential Revision: D48140102 |
5df456f
to
3ca948c
Compare
This pull request was successfully merged by @philIip in 0d83c1a. When will my fix make it into a release? | Upcoming Releases |
Summary: Pull Request resolved: #38869 ## Changelog: [iOS][Breaking]- After [#38866](#38866) and [#38868](#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: mdvacca, cipolleschi Differential Revision: D48140317 fbshipit-source-id: 930c79b3828e0197c5dd2841875b830fc211e2a6
This pull request has been reverted by f2b1024. |
Summary: ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Differential Revision: D48577192 fbshipit-source-id: 94b59ed242b13547f0678c9f5616c33c021f840e
Summary: Pull Request resolved: facebook#39118 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Differential Revision: D48577192 fbshipit-source-id: a7b246ec990495ed149a5bd9f71197b675574e44
Summary: Pull Request resolved: facebook#39118 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: christophpurrer Differential Revision: D48577192 fbshipit-source-id: 789b96d2872448a49621184906be63164edd4788
Summary: Pull Request resolved: facebook#39118 ## Changelog: [iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: christophpurrer Differential Revision: D48577192 fbshipit-source-id: 8726dc0cff60542e8429aae1d15a8e793b2f2c1f
Summary: Pull Request resolved: #39118 ## Changelog: [iOS][Breaking]- After [#38866](#38866) and [#38868](#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view. Reviewed By: christophpurrer Differential Revision: D48577192 fbshipit-source-id: 8dbc96f1844d0ca1ed603cbe446575571c5f3e3b
Summary:
Changelog: [Internal]
All callsites to
initWithSurface:sizeMeasureMode:moduleRegistry
pass downRCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact
. since that's the case, let's simplify the constructor sinceinitWithSurface:
passes that value by default.Differential Revision: D48140102