Kevin Gozali 4530da87e2 make Modal pass rootTag to AppContainer
Summary:
Following up on fb7fe2d4e8: when <Modal> is used in dev mode, it renders `<AppContainer>` to wrap the children so that the element inspector can show up correctly. In that scenario, we need pass the `rootTag` over the `<AppContainer>` so that the children can read the rootTag correctly. Otherwise, the children of <Modal> will see it as undefined.

With this, AppContainer can then declare `rootTag` as a required prop, as it should have been.

Note that this only affects DEV build because there's no AppContainer wrapping otherwise.

Reviewed By: jingc

Differential Revision: D4204011

fbshipit-source-id: 80edbc8d351d983786e6fc3c68dfa65a71b1ed3c
2016-11-18 01:43:26 -08:00
..
2016-10-14 08:13:55 -07:00
2016-11-04 05:43:44 -07:00
2016-11-14 20:45:17 -08:00
2016-11-04 05:43:44 -07:00
2016-10-12 19:28:42 -07:00
2016-11-16 18:13:26 -08:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2016-11-15 08:44:30 -08:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-08-09 06:43:46 -07:00
2016-11-04 05:43:44 -07:00
2016-08-12 07:28:38 -07:00