Peter Argany
4efdf264d1
Introducing RCTWeakViewHolder [4/n]
...
Summary:
Problem: In paper, there is a handy API called `[uiManager viewForReactTag:]`. Fabric does not have this mapping. The Fabric interop layer still relies on this Paper mapping.
Solution: As a workaround, re-create this mapping in the Fabric interop layer. Therefore, whenever Fabric interop layer asks a paper view manager to create a view, store a weak reference to the view in a `NSMapTable`. NSMapTable allows us to customize the strong/weak relationship. I've added a comment explaining that `RCTWeakViewHolder` only needs to be used for this special circumstance.
Changelog: [Internal]
Reviewed By: sammy-SC
Differential Revision: D27438899
fbshipit-source-id: 94663ef06479a8c863ce58b0f36d42109fa1c4f3
2021-03-31 16:39:02 -07:00
..
2021-03-12 04:00:19 -08:00
2020-03-08 23:01:17 -07:00
2021-01-09 22:11:00 -08:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2021-01-09 22:11:00 -08:00
2019-10-16 10:06:34 -07:00
2019-11-16 00:13:48 -08:00
2021-03-31 16:39:02 -07:00
2021-03-31 16:39:02 -07:00
2019-10-16 10:06:34 -07:00
2021-01-09 22:11:00 -08:00
2019-10-16 10:06:34 -07:00
2020-05-11 09:01:33 -07:00
2019-10-16 10:06:34 -07:00
2020-09-29 04:14:33 -07:00
2020-03-08 23:01:17 -07:00
2020-10-14 02:40:10 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-01-09 22:11:00 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-09-28 21:26:41 -07:00
2020-09-28 21:26:41 -07:00
2020-09-28 21:26:41 -07:00
2020-09-28 21:26:41 -07:00
2020-03-08 23:01:17 -07:00
2020-11-13 23:56:09 -08:00
2021-03-10 05:47:47 -08:00
2021-03-10 05:47:47 -08:00
2019-10-16 10:06:34 -07:00
2021-01-09 22:11:00 -08:00
2019-10-16 10:06:34 -07:00
2021-03-23 10:59:32 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-09-28 21:26:41 -07:00
2020-04-08 12:48:07 -07:00
2020-04-08 12:48:07 -07:00
2019-10-16 10:06:34 -07:00
2020-10-14 02:40:10 -07:00
2019-10-16 10:06:34 -07:00
2020-01-06 22:19:37 -08:00
2020-03-08 23:01:17 -07:00
2021-01-09 22:11:00 -08:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2021-01-09 22:11:00 -08:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-10-14 02:40:10 -07:00
2019-10-16 10:06:34 -07:00
2020-10-14 02:40:10 -07:00
2019-10-16 10:06:34 -07:00
2020-10-14 02:40:10 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-06-11 13:23:27 -07:00
2020-10-14 02:40:10 -07:00
2020-10-14 02:40:10 -07:00
2021-03-31 16:39:02 -07:00
2019-10-16 10:06:34 -07:00
2020-10-14 02:40:10 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00